com.jalios.jcms.tools.patch
Class JumboPatchDeploy

java.lang.Object
  extended by org.apache.commons.io.DirectoryWalker
      extended by 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
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
 
Constructor Summary
JumboPatchDeploy()
           
 
Method Summary
 boolean applyPatch(File patchFile, File webappDir)
           
protected  void handleFile(File file, int depth, Collection results)
           
static void main(String[] args)
          JumboPatchDeploy main entry point.
 void setDryRun(boolean dryRun)
           
 
Methods inherited from class org.apache.commons.io.DirectoryWalker
checkIfCancelled, filterDirectoryContents, 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
 

Field Detail

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
Constructor Detail

JumboPatchDeploy

public JumboPatchDeploy()
Method Detail

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.