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
-
-
Field Summary
Fields Modifier and Type Field Description static intSTATUS_BAD_PARAMETERSJumboPatchDeploy exit code if invalid parameters were specifiedstatic intSTATUS_ERRORJumboPatchDeploy exit code in case any error occursstatic intSTATUS_OKJumboPatchDeploy exit code when everything went fine
-
Constructor Summary
Constructors Constructor Description JumboPatchDeploy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapplyPatch(java.io.File patchFile, java.io.File webappDir)protected voidhandleFile(java.io.File file, int depth, java.util.Collection results)static voidmain(java.lang.String[] args)JumboPatchDeploy main entry point.voidsetDryRun(boolean dryRun)
-
-
-
Field Detail
-
STATUS_OK
public static final int STATUS_OK
JumboPatchDeploy exit code when everything went fine- See Also:
- Constant Field Values
-
STATUS_BAD_PARAMETERS
public static final int STATUS_BAD_PARAMETERS
JumboPatchDeploy exit code if invalid parameters were specified- See Also:
- Constant Field Values
-
STATUS_ERROR
public static final int STATUS_ERROR
JumboPatchDeploy exit code in case any error occurs- See Also:
- Constant Field Values
-
-
Method Detail
-
applyPatch
public boolean applyPatch(java.io.File patchFile, java.io.File webappDir)
-
setDryRun
public void setDryRun(boolean dryRun)
-
handleFile
protected void handleFile(java.io.File file, int depth, java.util.Collection results) throws java.io.IOException- Overrides:
handleFilein classorg.apache.commons.io.DirectoryWalker- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args)
JumboPatchDeploy main entry point.- Parameters:
args- jumbo patch deploy command line parameter
-
-