public class SupportZipGenerator
extends java.lang.Object
| Constructor and Description |
|---|
SupportZipGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
createZip(java.util.List<java.io.File> logFiles)
removes the old zip (if exists), and creates a new one.
|
void |
deleteZip()
deletes the supportzip-File
|
java.util.List<java.io.File> |
getLogFiles()
Returns an array of Logfiles found in the logDir and subdirs
|
java.io.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 java.io.File getZip()
public boolean zipExists()
public void deleteZip()
public void createZip(java.util.List<java.io.File> logFiles)
public boolean logsCollectable()
public java.util.List<java.io.File> getLogFiles()
public void sendZipViaMail()
throws EmailException
EmailExceptionCopyright © 2018 SAP SE. All Rights Reserved.