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 int
STATUS_BAD_PARAMETERS
JumboPatchDeploy exit code if invalid parameters were specifiedstatic int
STATUS_ERROR
JumboPatchDeploy exit code in case any error occursstatic int
STATUS_OK
JumboPatchDeploy 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 boolean
applyPatch(java.io.File patchFile, java.io.File webappDir)
protected void
handleFile(java.io.File file, int depth, java.util.Collection results)
static void
main(java.lang.String[] args)
JumboPatchDeploy main entry point.void
setDryRun(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:
handleFile
in 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
-
-