public abstract class ExecutionContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_MAXQ_PROPERTY_FILE
relative path to the file holding MaxQ properties in console plugin
|
static java.lang.String |
DEFAULT_SERVER
Name of the default CLIF server possibly launched by a user
interface for convenience
|
static java.lang.String |
DEPLOY_RETRIES_PROP_DEFAULT |
static java.lang.String |
DEPLOY_RETRIES_PROP_NAME |
static java.lang.String |
DEPLOY_RETRYDELAY_PROP_DEFAULT |
static java.lang.String |
DEPLOY_RETRYDELAY_PROP_NAME |
static java.lang.String |
OPTS_PATH
relative path to the file holding CLIF options
|
static java.lang.String |
PREFETCH_FILE
relative path to the file holding the list of classes to prefetch (including all dependencies)
|
static java.lang.String[] |
PROPERTIES_WITH_PATH
Names of CLIF system properties whose value is a path
|
static java.lang.String |
PROPS_PATH
relative path to the file holding CLIF system properties
|
static java.lang.String |
WORKSPACE_PATH
absolute path to the workspace
|
Constructor and Description |
---|
ExecutionContext() |
Modifier and Type | Method and Description |
---|---|
static boolean |
codeServerIsShared() |
static boolean |
deploymentIsBestEffort() |
static java.lang.String |
getBaseDir()
Gets the base directory of CLIF runtime environment.
|
static long |
getDeploymentTimeOut() |
static java.lang.String |
getMaxQPropFile()
Gets location of maxq.properties file in current project
|
static void |
init(java.lang.String path)
Sets the base directory of CLIF runtime environment, and configures log libraries.
|
static void |
setMaxQPropFile(java.lang.String dir)
Sets absolute location of maxq.properties file in current project
|
static void |
setProperties(java.io.InputStream ins)
Sets system properties according to the contents of an input stream.
|
static boolean |
useGlobalTime() |
public static final java.lang.String DEPLOY_RETRIES_PROP_NAME
public static final java.lang.String DEPLOY_RETRIES_PROP_DEFAULT
public static final java.lang.String DEPLOY_RETRYDELAY_PROP_NAME
public static final java.lang.String DEPLOY_RETRYDELAY_PROP_DEFAULT
public static final java.lang.String DEFAULT_SERVER
public static final java.lang.String DEFAULT_MAXQ_PROPERTY_FILE
public static final java.lang.String PROPS_PATH
public static final java.lang.String OPTS_PATH
public static final java.lang.String PREFETCH_FILE
public static java.lang.String WORKSPACE_PATH
public static java.lang.String[] PROPERTIES_WITH_PATH
public static void init(java.lang.String path)
path
- the filesystem path to the base directory of CLIF runtime environment.
Must have a trailing filesystem separator.public static java.lang.String getBaseDir()
public static void setProperties(java.io.InputStream ins)
ins
- input stream properties are read frompublic static void setMaxQPropFile(java.lang.String dir)
dir
- absolute location of maxq.propertiespublic static java.lang.String getMaxQPropFile()
public static boolean useGlobalTime()
public static boolean deploymentIsBestEffort()
public static long getDeploymentTimeOut()
public static boolean codeServerIsShared()