Package de.hybris.platform.hac.util
Class SupportZipGenerator
java.lang.Object
de.hybris.platform.hac.util.SupportZipGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidremoves the old zip (if exists), and creates a new one.voiddeletes the supportzip-FileReturns an array of Logfiles found in the logDir and subdirsgetZip()returns the supportzip.booleanreturns a boolean, whether the logs are collectable.voidsend the supportzip-file via Mail.booleanreturns, whether the supportzip exists
-
Constructor Details
-
SupportZipGenerator
public SupportZipGenerator()
-
-
Method Details
-
getZip
returns the supportzip. If it's not yet existent, it gets created -
zipExists
public boolean zipExists()returns, whether the supportzip exists -
deleteZip
public void deleteZip()deletes the supportzip-File -
createZip
removes the old zip (if exists), and creates a new one. -
logsCollectable
public boolean logsCollectable()returns a boolean, whether the logs are collectable. Right now, the logs are not collectable in Weblogic -
getLogFiles
Returns an array of Logfiles found in the logDir and subdirs -
sendZipViaMail
public void sendZipViaMail() throws org.apache.commons.mail.EmailExceptionsend the supportzip-file via Mail. To use this, you should set the mail.* - properties properly.- Throws:
org.apache.commons.mail.EmailException
-