|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jbbres.lib.actions.tools.elements.variables.VariableAction
public class VariableAction
A concrete implementation of Action
that returns the value of a
Variable
selected via its
UI. When applicable, the user can also choose to change the value of the
variable by affecting it the result of the previous action in the workflow.
Constructor Summary | |
---|---|
VariableAction(Workflow workflow)
Instantiates a new variable action. |
|
VariableAction(Workflow workflow,
Variable variable)
Instantiates a new variable action. |
Method Summary | |
---|---|
ActionDescription |
getDescription()
Returns the description of the element. |
Parameters |
getParameters()
Returns the state of the element. |
VariableActionService |
getService()
Returns the service associated to the element. |
VariableActionUI |
getUI()
returns the User Interface displayed in the workflow definition panel in Action(s), and that user can use to define the settings of the action. |
Workflow |
getWorkflow()
Returns the workflow. |
void |
setParameters(Parameters parameters)
Sets the current state of the element. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VariableAction(Workflow workflow) throws java.io.IOException
workflow
- - the workflow
java.io.IOException
- Signals that an I/O exception has occurred.public VariableAction(Workflow workflow, Variable variable) throws java.io.IOException
workflow
- - the workflowvariable
- - the variable
java.io.IOException
- Signals that an I/O exception has occurred.Method Detail |
---|
public Workflow getWorkflow()
public VariableActionService getService()
Element
getService
in interface Action
getService
in interface Element
ElementService
public VariableActionUI getUI()
Action
getUI
in interface Action
public ActionDescription getDescription()
Element
getDescription
in interface Action
getDescription
in interface Element
ElementDescription
public Parameters getParameters()
Element
getParameters
in interface Element
Element.setParameters(Parameters)
,
Parameters
public void setParameters(Parameters parameters) throws InvalidParametersException
Element
setParameters
in interface Element
parameters
- - the parameters. Can be null
InvalidParametersException
- Occurs when the parameters received are incorrect and cannot
be mapped in the element.Element.getParameters()
,
Parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |