org.ow2.clif.deploy
Class DeployObservation

java.lang.Object
  extended by org.ow2.clif.deploy.DeployObservation
All Implemented Interfaces:
java.io.Serializable

public class DeployObservation
extends java.lang.Object
implements java.io.Serializable

Used by the Observable interface: Observer objects will be invoked with an instance of this class as 2nd argument when a deployment has been completed or has failed.

See Also:
Observer.update(java.util.Observable,java.lang.Object), Serialized Form

Constructor Summary
DeployObservation()
           
DeployObservation(boolean successful, java.lang.Throwable exception)
           
 
Method Summary
 java.lang.Throwable getException()
           
 boolean isSuccessful()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeployObservation

public DeployObservation()

DeployObservation

public DeployObservation(boolean successful,
                         java.lang.Throwable exception)
Method Detail

isSuccessful

public boolean isSuccessful()

getException

public java.lang.Throwable getException()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object