org.kuali.rice.kew.engine
Class EngineState

java.lang.Object
  extended by org.kuali.rice.kew.engine.EngineState
All Implemented Interfaces:
Serializable

public class EngineState
extends Object
implements Serializable

Represents the current state of the workflow engine.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
private  List completeNodeInstances
           
private static int currentSimulationId
           
private  List generatedRequests
           
private static long serialVersionUID
           
private  RouteNodeInstance transitioningFrom
           
private  RouteNodeInstance transitioningTo
           
 
Constructor Summary
EngineState()
           
 
Method Summary
 List getCompleteNodeInstances()
           
 List getGeneratedRequests()
           
 Long getNextSimulationId()
          Gets the next id to be used for simulation purposes.
 RouteNodeInstance getTransitioningFrom()
           
 RouteNodeInstance getTransitioningTo()
           
 void setCompleteNodeInstances(List completeNodeInstances)
           
 void setGeneratedRequests(List generatedRequests)
           
 void setTransitioningFrom(RouteNodeInstance transitioningFrom)
           
 void setTransitioningTo(RouteNodeInstance transitioningTo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

currentSimulationId

private static int currentSimulationId

transitioningFrom

private RouteNodeInstance transitioningFrom

transitioningTo

private RouteNodeInstance transitioningTo

completeNodeInstances

private List completeNodeInstances

generatedRequests

private List generatedRequests
Constructor Detail

EngineState

public EngineState()
Method Detail

getCompleteNodeInstances

public List getCompleteNodeInstances()

setCompleteNodeInstances

public void setCompleteNodeInstances(List completeNodeInstances)

getTransitioningFrom

public RouteNodeInstance getTransitioningFrom()

setTransitioningFrom

public void setTransitioningFrom(RouteNodeInstance transitioningFrom)

getTransitioningTo

public RouteNodeInstance getTransitioningTo()

setTransitioningTo

public void setTransitioningTo(RouteNodeInstance transitioningTo)

getGeneratedRequests

public List getGeneratedRequests()

setGeneratedRequests

public void setGeneratedRequests(List generatedRequests)

getNextSimulationId

public Long getNextSimulationId()
Gets the next id to be used for simulation purposes. Since, during simulation, we cannot save to the database and get primary keys assigned to our data beans, this method will be used to get a new simulation id which is guaranteed to be a negative number which will be unique for at least the lifetime of the simulation.



Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.