1 23 24 package javax.enterprise.deploy.spi.status; 25 26 import javax.enterprise.deploy.spi.TargetModuleID ; 27 import java.util.EventObject ; 28 29 36 public class ProgressEvent extends EventObject 37 { 38 private DeploymentStatus statuscode; 39 private TargetModuleID targetModuleID; 40 41 49 public ProgressEvent (Object source, TargetModuleID targetModuleID, 50 DeploymentStatus sCode) 51 { 52 super(source); 53 this.statuscode = sCode; 54 this.targetModuleID = targetModuleID; 55 } 56 57 62 public TargetModuleID getTargetModuleID() 63 { 64 return targetModuleID; 65 } 66 67 72 public DeploymentStatus getDeploymentStatus() 73 { 74 return statuscode; 75 } 76 } 77 | Popular Tags |