Interface ActionCommand

All Superinterfaces:
org.apache.commons.chain.Command<ActionContext>
All Known Implementing Classes:
AbstractAuthorizeAction, AbstractCreateAction, AbstractExceptionHandler, AbstractExecuteAction, AbstractPerformForward, AbstractPerformInclude, AbstractPopulateActionForm, AbstractRequestNoCache, AbstractSelectAction, AbstractSelectForward, AbstractSelectInput, AbstractSelectLocale, AbstractSelectModule, AbstractSetContentType, AbstractSetOriginalURI, AbstractValidateActionForm, ActionCommandBase, ActionPostProcess, AuthorizeAction, CacheMessages, CopyFormToContext, CreateAction, CreateActionForm, ExceptionCatcher, ExceptionHandler, ExecuteAction, ExecuteCommand, ExecuteDispatcher, ExecuteForwardCommand, PerformForward, PerformInclude, PopulateActionForm, RemoveCachedMessages, RequestNoCache, SelectAction, SelectForward, SelectInclude, SelectInput, SelectLocale, SelectModule, SetContentType, SetOriginalURI, ValidateActionForm

public interface ActionCommand extends org.apache.commons.chain.Command<ActionContext>
Marks a commons-chain Command which expects to operate upon a Struts ActionContext.
  • Field Summary

    Fields inherited from interface org.apache.commons.chain.Command

    CONTINUE_PROCESSING, PROCESSING_COMPLETE
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    execute(ActionContext actionContext)
     
  • Method Details

    • execute

      boolean execute(ActionContext actionContext) throws Exception
      Specified by:
      execute in interface org.apache.commons.chain.Command<ActionContext>
      Parameters:
      actionContext - The Context for the current request
      Returns:
      TRUE if processing should halt
      Throws:
      Exception - On any error