Class 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

      Fields 
      Modifier and Type Field Description
      static java.lang.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
    • 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)  
      • 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

      • 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​(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 class org.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