org.omg.lsae.notifications
Class StateEvent
java.lang.Object
  
org.omg.lsae.notifications.AnalysisEvent
      
org.omg.lsae.notifications.StateEvent
public class StateEvent
- extends AnalysisEvent
 
 
 
 
 
 
CREATED
public static final int CREATED
- See Also:
 - Constant Field Values
 
RUNNING
public static final int RUNNING
- See Also:
 - Constant Field Values
 
COMPLETED
public static final int COMPLETED
- See Also:
 - Constant Field Values
 
TERMINATED_BY_REQUEST
public static final int TERMINATED_BY_REQUEST
- See Also:
 - Constant Field Values
 
TERMINATED_BY_ERROR
public static final int TERMINATED_BY_ERROR
- See Also:
 - Constant Field Values
 
StateEvent
public StateEvent()
isCompleted
public boolean isCompleted()
- Specified by:
 isCompleted in class AnalysisEvent
 
- Returns:
 - true if the event is completed, false otherwise.
 
 
toString
public String toString()
- Specified by:
 toString in class AnalysisEvent
 
 
getNewState
public String getNewState()
- Returns:
 - the newState
 
 
setNewState
public void setNewState(int newState)
- Parameters:
 newState - the newState to set
 
getState
public int getState(String state)
- Parameters:
 state - the textual representation of the state
- Returns:
 - an integer that maps to the text rep of a state
 
 
getPreviousState
public String getPreviousState()
- Returns:
 - the previousState
 
 
setPreviousState
public void setPreviousState(int previousState)
- Parameters:
 previousState - the previousState to set
 
toXMLString
public String toXMLString()
- Specified by:
 toXMLString in class AnalysisEvent
 
- Returns:
 - the XML representation of this LSAE notification event object.
 
 
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010