it.amattioli.workstate.actions
Class BeanShellStateAction
java.lang.Object
it.amattioli.workstate.actions.AbstractStateAction
it.amattioli.workstate.actions.BeanShellStateAction
- All Implemented Interfaces:
- StateAction
public class BeanShellStateAction
- extends AbstractStateAction
BeanShellStateAction
public BeanShellStateAction(String code)
doAction
public void doAction(AttributeHandler state)
throws WorkflowException
- Throws:
WorkflowException
equals
public boolean equals(Object o)
- Description copied from class:
AbstractStateAction
- Generally speaking two actions are considered equals if they have
the same class. Implementations can partially redefine this behavior
adding other conditions but leaving this condition unaltered.
For example, if the behavior of an action depends on the value of
a parameter passed to the constructor you can redefine the equals
method so it returns true if two actions have the same class and
the same value of the parameter.
- Overrides:
equals in class AbstractStateAction
hashCode
public int hashCode()
- Overrides:
hashCode in class AbstractStateAction
Copyright © 2011. All Rights Reserved.