Class DeployManagerUpgradeHandler

    • Field Detail

      • statusMsg

        public static final java.lang.String[] statusMsg
      • op

        protected boolean op
      • opDiff

        protected boolean opDiff
      • opApply

        protected boolean opApply
      • opValidate

        protected boolean opValidate
      • opCommit

        protected boolean opCommit
      • opRollback

        protected boolean opRollback
      • opAbort

        protected boolean opAbort
      • filesStatus

        protected int filesStatus
      • storeStatus

        protected int storeStatus
      • deltaDir

        protected java.io.File deltaDir
      • backupDir

        protected java.io.File backupDir
      • files

        protected java.lang.String[] files
      • replaceStore

        protected boolean replaceStore
      • srcStore

        protected Store srcStore
      • tgtStore

        protected Store tgtStore
      • createdFileSet

        protected java.util.TreeSet createdFileSet
      • updatedFileSet

        protected java.util.TreeSet updatedFileSet
      • deletedFileSet

        protected java.util.TreeSet deletedFileSet
      • upgradeDiffSet

        protected java.util.TreeSet upgradeDiffSet
      • rollbackDiffSet

        protected java.util.TreeSet rollbackDiffSet
    • Constructor Detail

      • DeployManagerUpgradeHandler

        public DeployManagerUpgradeHandler()
    • Method Detail

      • processAction

        public boolean processAction()
                              throws java.io.IOException
        Description copied from class: JcmsFormHandler
        Method to be implemented to check/validate action to be performed and process them.

        Default implementation is to return false. No need to call super method.

        This method may NOT be invoked at all if security validation are not met.

        You must ensure your handler and JSP can work properly without any code invoked in this method.

        Overrides:
        processAction in class JcmsFormHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • validateCommon

        protected boolean validateCommon()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • validateDiff

        protected boolean validateDiff()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • performDiff

        protected boolean performDiff()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • validateApply

        protected boolean validateApply()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • performApply

        protected boolean performApply()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • validateValidate

        protected boolean validateValidate()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • performValidate

        protected boolean performValidate()
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • validateCommit

        protected boolean validateCommit()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • performCommit

        protected boolean performCommit()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • validateRollback

        protected boolean validateRollback()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • performRollback

        protected boolean performRollback()
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • validateAbort

        protected boolean validateAbort()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • performAbort

        protected boolean performAbort()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • isUploadStep

        public boolean isUploadStep()
      • isDiffStep

        public boolean isDiffStep()
      • isValidateStep

        public boolean isValidateStep()
      • isCommitStep

        public boolean isCommitStep()
      • isRollbackStep

        public boolean isRollbackStep()
      • getWebAppInfo

        public WebAppInfo getWebAppInfo()
      • getDeltaDir

        public java.io.File getDeltaDir()
      • getCreatedFileSet

        public java.util.TreeSet getCreatedFileSet()
      • getUpdatedFileSet

        public java.util.TreeSet getUpdatedFileSet()
      • getDeletedFileSet

        public java.util.TreeSet getDeletedFileSet()
      • getUpgradeDiffSet

        public java.util.TreeSet getUpgradeDiffSet()
      • getRollbackDiffSet

        public java.util.TreeSet getRollbackDiffSet()
      • getFilesStatus

        public int getFilesStatus()
      • getFilesStatusMsg

        public java.lang.String getFilesStatusMsg()
      • getStoreStatus

        public int getStoreStatus()
      • getStoreStatusMsg

        public java.lang.String getStoreStatusMsg()
      • setOpDiff

        public void setOpDiff​(java.lang.String v)
      • setOpApply

        public void setOpApply​(java.lang.String v)
      • setOpValidate

        public void setOpValidate​(java.lang.String v)
      • setOpCommit

        public void setOpCommit​(java.lang.String v)
      • setOpRollback

        public void setOpRollback​(java.lang.String v)
      • setOpAbort

        public void setOpAbort​(java.lang.String v)
      • setWebappId

        public void setWebappId​(java.lang.String webappId)
      • setFiles

        public void setFiles​(java.lang.String[] v)
      • setReplaceStore

        public void setReplaceStore​(boolean v)