it.amattioli.workstate.actions
Class BeanShellTransitionAction

Show UML class diagram
java.lang.Object
  extended by it.amattioli.workstate.actions.AbstractTransitionAction
      extended by it.amattioli.workstate.actions.BeanShellTransitionAction
All Implemented Interfaces:
TransitionAction

public class BeanShellTransitionAction
extends AbstractTransitionAction


Constructor Summary
BeanShellTransitionAction(String code)
           
 
Method Summary
 void doAction(AttributeReader event, AttributeHandler state)
           
 boolean equals(Object o)
          Generally speaking two actions are considered equals if they have the same class.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class it.amattioli.workstate.actions.AbstractTransitionAction
undoAction
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanShellTransitionAction

public BeanShellTransitionAction(String code)
Method Detail

doAction

public void doAction(AttributeReader event,
                     AttributeHandler state)
              throws WorkflowException
Throws:
WorkflowException

equals

public boolean equals(Object o)
Description copied from class: AbstractTransitionAction
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 AbstractTransitionAction

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractTransitionAction


Copyright © 2011. All Rights Reserved.