1 23 24 package org.objectweb.clif.deploy; 25 26 27 import org.objectweb.clif.supervisor.api.TestControl; 28 import java.util.Observable ; 29 import java.io.Serializable ; 30 31 32 38 public class DeployObservation implements Serializable 39 { 40 boolean successful = false; 41 TestControl testCtl = null; 42 Throwable exception = null; 43 44 45 public DeployObservation(TestControl testCtl) 46 { 47 this.successful = true; 48 this.testCtl = testCtl; 49 } 50 51 52 public DeployObservation(boolean successful, Throwable exception) 53 { 54 this.successful = successful; 55 this.exception = exception; 56 } 57 58 59 public boolean isSuccessful() 60 { 61 return successful; 62 } 63 64 65 public TestControl getTestControl() 66 { 67 return testCtl; 68 } 69 70 71 public Throwable getException() 72 { 73 return exception; 74 } 75 } 76 | Popular Tags |