1 23 package com.sun.appserv.management.deploy; 24 25 import java.util.Map ; 26 import java.util.List ; 27 import java.util.Iterator ; 28 import java.io.Serializable ; 29 30 import com.sun.appserv.management.base.OperationStatus; 31 32 37 public interface DeploymentStatus extends OperationStatus 38 { 39 42 public final static String DEPLOYMENT_STATUS_CLASS_NAME = 43 "com.sun.appserv.management.deploy.DeploymentStatus"; 44 45 48 public final int STATUS_CODE_NOT_INITIALIZED = 0; 49 50 51 public static final String STAGE_STATUS_KEY = STATUS_CODE_KEY; 52 53 public static final String STAGE_STATUS_MESSAGE_KEY = "StageStatusMessage"; 54 55 public static final String SUB_STAGES_KEY = "SubStages"; 56 57 public static final String STAGE_THROWABLE_KEY = THROWABLE_KEY; 58 59 public static final String STAGE_DESCRIPTION_KEY = "StageDescription"; 60 61 public static final String PARENT_KEY = "Parent"; 62 63 public static final String ADDITIONAL_STATUS_KEY = "AdditionalStatus"; 64 65 69 public static final String MODULE_ID_KEY = "ModuleID"; 70 71 79 public Iterator <Map <String ,Serializable >> getSubStages(); 80 81 86 public List <DeploymentStatus> getSubStagesList(); 87 88 98 public int getStageStatus(); 99 100 103 public String getStageStatusMessage(); 104 105 109 public Throwable getStageThrowable(); 110 111 114 public String getStageDescription(); 115 116 119 public Map <String ,Serializable > getAdditionalStatus(); 120 121 124 public DeploymentStatus getParent(); 125 126 130 public void setParent( DeploymentStatus parent ); 131 } 132 133 134 135 136 137 | Popular Tags |