Package com.sun.ts.lib.harness
Class ExecutionMode
java.lang.Object
com.sun.ts.lib.harness.ExecutionMode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getExecutionMode
(PropertyManagerInterface propMgr) gets the current execution mode from PropertyManagerInterface or from a system property if overridden on the commandline.
-
Field Details
-
DEPLOY_RUN_UNDEPLOY
public static final int DEPLOY_RUN_UNDEPLOY- See Also:
-
DEPLOY
public static final int DEPLOY- See Also:
-
RUN
public static final int RUN- See Also:
-
UNDEPLOY
public static final int UNDEPLOY- See Also:
-
DEPLOY_RUN
public static final int DEPLOY_RUN- See Also:
-
LIST
public static final int LIST- See Also:
-
DEFAULT
public static final int DEFAULT- See Also:
-
-
Method Details
-
getExecutionMode
gets 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
-