Class FileProcessorAdminHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class FileProcessorAdminHandler extends JcmsFormHandler
FormHandler that provides informations shown in FileProcessor admin page. Executes the actions if needed.
  • Field Details

    • op

      protected boolean op
    • opStop

      protected boolean opStop
    • opStart

      protected boolean opStart
    • opGlobalBlacklist

      protected boolean opGlobalBlacklist
    • opPartialBlacklist

      protected boolean opPartialBlacklist
    • opUnBlacklist

      protected boolean opUnBlacklist
    • opExecuteNextAlarmNow

      protected boolean opExecuteNextAlarmNow
    • opSubmitAgain

      protected boolean opSubmitAgain
    • opReProcessNonBlackListedFiles

      protected boolean opReProcessNonBlackListedFiles
    • TAB_GENERAL

      public static final String TAB_GENERAL
      See Also:
    • TAB_FILES_STATUS

      public static final String TAB_FILES_STATUS
      See Also:
    • TAB_EXTENSIONS_AND_PROCESSORS

      public static final String TAB_EXTENSIONS_AND_PROCESSORS
      See Also:
    • TAB_EXTENSIONS

      public static final String TAB_EXTENSIONS
      See Also:
    • TAB_PROCESSING_EVENT

      public static final String TAB_PROCESSING_EVENT
      See Also:
    • TAB_CONFIGURATION

      public static final String TAB_CONFIGURATION
      See Also:
    • FP_ADMIN_JSP

      public static final String FP_ADMIN_JSP
      See Also:
  • Constructor Details

    • FileProcessorAdminHandler

      public FileProcessorAdminHandler()
  • Method Details

    • processAction

      public boolean processAction() throws 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:
      IOException - IO Exception
    • getAvailableRepositories

      public Collection<Repository> getAvailableRepositories()
      Gives a collection of all the repositories stored in the RepositoryManager.
      Returns:
      Collection of Repository
    • setActionComponentClassName

      public void setActionComponentClassName(String actionComponentClassName)
    • setFileShortName

      public void setFileShortName(String[] filesShortName)
    • getAvailableFilesShortName

      public String[] getAvailableFilesShortName()
    • setOpStart

      public void setOpStart(String v)
    • setOpStop

      public void setOpStop(String v)
    • setOpExecuteNextAlarmNow

      public void setOpExecuteNextAlarmNow(String v)
    • setOpGlobalBlacklist

      public void setOpGlobalBlacklist(String v)
    • setOpPartialBlacklist

      public void setOpPartialBlacklist(String v)
    • setOpUnBlacklist

      public void setOpUnBlacklist(String v)
    • setOpSubmitAgain

      public void setOpSubmitAgain(String v)
    • setOpReProcessNonBlackListedFiles

      public void setOpReProcessNonBlackListedFiles(String v)
    • getAvailableRepositoryId

      public String getAvailableRepositoryId()
    • getRepositoryId

      public String getRepositoryId()
    • setRepositoryId

      public void setRepositoryId(String repositoryId)
    • getRepository

      public Repository getRepository()
    • getAvailableIndexerClass

      public String getAvailableIndexerClass()
    • setIndexerClass

      public void setIndexerClass(String indexerClass)
    • getAvailableName

      public String getAvailableName()
    • setName

      public void setName(String name)
    • getAvailableAlarmMgrName

      public String getAvailableAlarmMgrName()
    • setAlarmMgrName

      public void setAlarmMgrName(String alarmMgrName)
    • getAvailableBaseDirectory

      public String getAvailableBaseDirectory()
    • setBaseDirectory

      public void setBaseDirectory(String baseDirectory)
    • getAvailableLuceneIndex

      public String getAvailableLuceneIndex()
    • setLuceneIndex

      public void setLuceneIndex(String luceneIndex)
    • getAvailablePostponedSchedulePeriod

      public int getAvailablePostponedSchedulePeriod()
    • setPostponedSchedulePeriod

      public void setPostponedSchedulePeriod(String schedulePeriodString)
    • getAvailablePostponedScheduleCron

      public String getAvailablePostponedScheduleCron()
    • setPostponedScheduleCron

      public void setPostponedScheduleCron(String scheduleCron)
    • getAvailableSchedulePeriod

      public int getAvailableSchedulePeriod()
    • setSchedulePeriod

      public void setSchedulePeriod(String schedulePeriodString)
    • getAvailableScheduleCron

      public String getAvailableScheduleCron()
    • setScheduleCron

      public void setScheduleCron(String scheduleCron)
    • getAvailableExcludedDirRegExp

      public String getAvailableExcludedDirRegExp()
    • setExcludedDirRegExp

      public void setExcludedDirRegExp(String excludedDirRegExp)
    • getAvailableProcessingLimitDuration

      public int getAvailableProcessingLimitDuration()
    • setProcessingLimitDuration

      public void setProcessingLimitDuration(String processingLimitDurationString)
    • getText

      public String getText()
    • setText

      public void setText(String text)
    • getStatus

      public String getStatus()
    • setStatus

      public void setStatus(String status)
    • getRedirectUrl

      public String getRedirectUrl()
    • sendRedirect

      public void sendRedirect() throws IOException
      Throws:
      IOException
    • getActionComponent

      public String getActionComponent()
    • setActionComponent

      public void setActionComponent(String actionComponent)