Class AbstractFileProcessCheck

    • Constructor Detail

      • AbstractFileProcessCheck

        public AbstractFileProcessCheck()
    • Method Detail

      • getType

        public ProcessCheckType getType()
        Description copied from interface: ProcessCheck
        Gets the type of the check
        Returns:
        the type of check.
      • check

        public final void check​(ProcessExecutionContext processExecutionContext)
                         throws Exception
        Description copied from interface: ProcessCheck
        Contains the treatment of the verification.
        Parameters:
        processExecutionContext - the context of the chained list of checks execution.
        Throws:
        Exception
      • checkFiles

        public abstract void checkFiles​(ProcessExecutionContext processExecutionContext,
                                        FileHandler fileHandler)
        Contains the treatment of the verification. The file handler (@see FileHandler) associated to the current execution of chained Silverpeas processes is passed.
        Parameters:
        processExecutionContext - the context of chained list of checks execution.
        fileHandler - the instance of the file handler.
        Throws:
        Exception
      • identifyComponentInstances

        protected final Set<String> identifyComponentInstances​(ProcessExecutionContext processExecutionProcess,
                                                               FileHandler fileHandler)
        Identifying all component instances aimed by the process chained execution
        Parameters:
        processExecutionProcess -
        fileHandler -
        Returns: