Package com.sun.ts.lib.harness
Class ExecutionMode
java.lang.Object
com.sun.ts.lib.harness.ExecutionMode
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int
- 
Method SummaryModifier and TypeMethodDescriptionstatic intgetExecutionMode(PropertyManagerInterface propMgr) gets the current execution mode from PropertyManagerInterface or from a system property if overridden on the commandline.
- 
Field Details- 
DEPLOY_RUN_UNDEPLOYpublic static final int DEPLOY_RUN_UNDEPLOY- See Also:
 
- 
DEPLOYpublic static final int DEPLOY- See Also:
 
- 
RUNpublic static final int RUN- See Also:
 
- 
UNDEPLOYpublic static final int UNDEPLOY- See Also:
 
- 
DEPLOY_RUNpublic static final int DEPLOY_RUN- See Also:
 
- 
LISTpublic static final int LIST- See Also:
 
- 
DEFAULTpublic static final int DEFAULT- See Also:
 
 
- 
- 
Method Details- 
getExecutionModegets the current execution mode from PropertyManagerInterface or from a system property if overridden on the commandline. Note that current execution mode is not cached since harness.executeMode property may change between test executions.- Parameters:
- propMgr- an implementation of PropertyManagerInterface.
- Returns:
- an int representing one of the 5 modes
 
 
-