public class SupportZipGenerator extends Object
| Constructor and Description |
|---|
SupportZipGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
createZip(List<File> logFiles)
removes the old zip (if exists), and creates a new one.
|
void |
deleteZip()
deletes the supportzip-File
|
List<File> |
getLogFiles()
Returns an array of Logfiles found in the logDir and subdirs
|
File |
getZip()
returns the supportzip.
|
boolean |
logsCollectable()
returns a boolean, whether the logs are collectable.
|
void |
sendZipViaMail()
send the supportzip-file via Mail.
|
boolean |
zipExists()
returns, whether the supportzip exists
|
public File getZip()
public boolean zipExists()
public void deleteZip()
public void createZip(List<File> logFiles)
public boolean logsCollectable()
public List<File> getLogFiles()
public void sendZipViaMail()
throws EmailException
EmailExceptionCopyright © 2017 SAP SE. All Rights Reserved.