Class ActionFormResult
- java.lang.Object
-
- org.alfresco.repo.forms.processor.action.ActionFormResult
-
public class ActionFormResult extends java.lang.ObjectClass used purely to represent the result of an action being executed via theActionFormProcessor. This class holds theActionexecuted and any optional results stored by the action.- Author:
- Gavin Cornwell
-
-
Constructor Summary
Constructors Constructor Description ActionFormResult(Action action, java.lang.Object result)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiongetAction()Returns the action that was executedjava.lang.ObjectgetResult()Returns the result from the executed actionjava.lang.StringtoString()
-
-
-
Constructor Detail
-
ActionFormResult
public ActionFormResult(Action action, java.lang.Object result)
Default constructor.- Parameters:
action- The action that was executed, can not be nullresult- The result from the action, can be null
-
-
Method Detail
-
getAction
public Action getAction()
Returns the action that was executed- Returns:
- The executed Action
-
getResult
public java.lang.Object getResult()
Returns the result from the executed action- Returns:
- The result or null if there were no results
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-