org.oddjob.jmx.client
Class ClientDestroyed

java.lang.Object
  extended by org.oddjob.jmx.client.ClientDestroyed
All Implemented Interfaces:
State

public class ClientDestroyed
extends Object
implements State


Constructor Summary
ClientDestroyed()
           
 
Method Summary
 boolean isComplete()
          Is a job or service complete?
 boolean isDestroyed()
          The job is destroyed.
 boolean isDone()
          Has the work of the job been done? A Job will be JobState.COMPLETE or a service ServiceState.STARTED Used by CascadeJob to see if a jobs immediate sibling can be executed.
 boolean isException()
          Is a job in an exception state.
 boolean isIncomplete()
          Is a job or service incomplete.
 boolean isReady()
          Is a job ready to be executed.
 boolean isStoppable()
          Can a job be stopped? This is a catch all for jobs that are active or executing.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientDestroyed

public ClientDestroyed()
Method Detail

isReady

public boolean isReady()
Description copied from interface: State
Is a job ready to be executed.

Specified by:
isReady in interface State
Returns:
true/false.

isStoppable

public boolean isStoppable()
Description copied from interface: State
Can a job be stopped? This is a catch all for jobs that are active or executing.

Specified by:
isStoppable in interface State
Returns:
true/false.

isDone

public boolean isDone()
Description copied from interface: State
Has the work of the job been done? A Job will be JobState.COMPLETE or a service ServiceState.STARTED Used by CascadeJob to see if a jobs immediate sibling can be executed.

Specified by:
isDone in interface State
Returns:
true/false;

isComplete

public boolean isComplete()
Description copied from interface: State
Is a job or service complete?

Specified by:
isComplete in interface State
Returns:
true/false.

isIncomplete

public boolean isIncomplete()
Description copied from interface: State
Is a job or service incomplete. The implication of incomplete is that it could be retried to be complete at some future date.

Specified by:
isIncomplete in interface State
Returns:
true/false.

isException

public boolean isException()
Description copied from interface: State
Is a job in an exception state. This is generally due to an unexpected error, as opposed to incomplete which in some way is expected.

Specified by:
isException in interface State
Returns:
true/false.

isDestroyed

public boolean isDestroyed()
Description copied from interface: State
The job is destroyed. It is no longer available for anything.

Specified by:
isDestroyed in interface State
Returns:
true/false.

toString

public String toString()
Overrides:
toString in class Object