Class ZipFileExecutor
- java.lang.Object
-
- org.wso2.diagnostics.postexecutor.ZipFileExecutor
-
public class ZipFileExecutor extends Object
Class used to zip the folder and upload the zip file to FTP/SFTP server if configured.
-
-
Constructor Summary
Constructors Constructor Description ZipFileExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(String path)This method is used to zip the folder and upload the zip file to FTP/SFTP server if configured.
-
-
-
Method Detail
-
execute
public void execute(String path)
This method is used to zip the folder and upload the zip file to FTP/SFTP server if configured.- Parameters:
path- path of the folder to be zipped
-
-