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 classes/interfaces inherited from class org.apache.commons.io.DirectoryWalker | 
org.apache.commons.io.DirectoryWalker.CancelException | 
 
| 
Field Summary | 
static String | 
REVISION
 
            | 
static int | 
STATUS_BAD_PARAMETERS
 
          JumboPatchDeploy exit code if invalid parameters were specified | 
static int | 
STATUS_ERROR
 
          JumboPatchDeploy exit code in case any error occurs | 
static int | 
STATUS_OK
 
          JumboPatchDeploy exit code when everything went fine | 
 
 
 
| Methods inherited from class org.apache.commons.io.DirectoryWalker | 
checkIfCancelled, handleCancelled, handleDirectory, handleDirectoryEnd, handleDirectoryStart, handleEnd, handleIsCancelled, handleRestricted, handleStart, walk | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
REVISION
public static final String REVISION
- See Also:
 - Constant Field Values
 
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
 
 
JumboPatchDeploy
public JumboPatchDeploy()
applyPatch
public boolean applyPatch(File patchFile,
                          File webappDir)
 
setDryRun
public void setDryRun(boolean dryRun)
 
handleFile
protected void handleFile(File file,
                          int depth,
                          Collection results)
                   throws IOException
- Overrides:
 handleFile in class org.apache.commons.io.DirectoryWalker
 
- Throws:
 IOException
 
main
public static void main(String[] args)
- JumboPatchDeploy main entry point.
- Parameters:
 args - jumbo patch deploy command line parameter
 
 
Copyright © 2001-2010 Jalios SA. All Rights Reserved.