Class ActionFormResult

java.lang.Object
org.alfresco.repo.forms.processor.action.ActionFormResult

public class ActionFormResult extends Object
Class used purely to represent the result of an action being executed via the ActionFormProcessor. This class holds the Action executed and any optional results stored by the action.
Author:
Gavin Cornwell
  • Constructor Details

    • ActionFormResult

      public ActionFormResult(Action action, Object result)
      Default constructor.
      Parameters:
      action - The action that was executed, can not be null
      result - The result from the action, can be null
  • Method Details

    • getAction

      public Action getAction()
      Returns the action that was executed
      Returns:
      The executed Action
    • getResult

      public Object getResult()
      Returns the result from the executed action
      Returns:
      The result or null if there were no results
    • toString

      public String toString()
      Overrides:
      toString in class Object