Package com.jalios.jcms.tools.patch
Class JumboPatchDeploy
java.lang.Object
org.apache.commons.io.DirectoryWalker
com.jalios.jcms.tools.patch.JumboPatchDeploy
public class JumboPatchDeploy
extends org.apache.commons.io.DirectoryWalker
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.io.DirectoryWalker
org.apache.commons.io.DirectoryWalker.CancelException -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intJumboPatchDeploy exit code if invalid parameters were specifiedstatic final intJumboPatchDeploy exit code in case any error occursstatic final intJumboPatchDeploy exit code when everything went fine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyPatch(File patchFile, File webappDir) protected voidhandleFile(File file, int depth, Collection results) static voidJumboPatchDeploy main entry point.voidsetDryRun(boolean dryRun) Methods inherited from class org.apache.commons.io.DirectoryWalker
checkIfCancelled, filterDirectoryContents, handleCancelled, handleDirectory, handleDirectoryEnd, handleDirectoryStart, handleEnd, handleIsCancelled, handleRestricted, handleStart, walk
-
Field Details
-
STATUS_OK
public static final int STATUS_OKJumboPatchDeploy exit code when everything went fine- See Also:
-
STATUS_BAD_PARAMETERS
public static final int STATUS_BAD_PARAMETERSJumboPatchDeploy exit code if invalid parameters were specified- See Also:
-
STATUS_ERROR
public static final int STATUS_ERRORJumboPatchDeploy exit code in case any error occurs- See Also:
-
-
Constructor Details
-
JumboPatchDeploy
public JumboPatchDeploy()
-
-
Method Details
-
applyPatch
-
setDryRun
public void setDryRun(boolean dryRun) -
handleFile
- Overrides:
handleFilein classorg.apache.commons.io.DirectoryWalker- Throws:
IOException
-
main
JumboPatchDeploy main entry point.- Parameters:
args- jumbo patch deploy command line parameter
-