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 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 final int
    JumboPatchDeploy exit code if invalid parameters were specified
    static final int
    JumboPatchDeploy exit code in case any error occurs
    static final int
    JumboPatchDeploy exit code when everything went fine
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

    • STATUS_OK

      public static final int STATUS_OK
      JumboPatchDeploy exit code when everything went fine
      See Also:
    • STATUS_BAD_PARAMETERS

      public static final int STATUS_BAD_PARAMETERS
      JumboPatchDeploy exit code if invalid parameters were specified
      See Also:
    • STATUS_ERROR

      public static final int STATUS_ERROR
      JumboPatchDeploy exit code in case any error occurs
      See Also:
  • Constructor Details

    • JumboPatchDeploy

      public JumboPatchDeploy()
  • Method Details

    • 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