org.oddjob.monitor.model
Class StateModel
java.lang.Object
java.util.Observable
org.oddjob.monitor.model.StateModel
public class StateModel
- extends Observable
This class encapsualtes the model of a job state.
- Author:
- Rob Gordon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StateModel
public StateModel()
change
public void change(StateEvent event)
getException
public String getException()
- Returns:
- Returns the exception.
getState
public String getState()
- Returns:
- Returns the state.
getTime
public String getTime()
- Returns:
- Returns the time.
clear
public void clear()