com.sun.faban.harness.common
Class Config

java.lang.Object
  extended by com.sun.faban.harness.common.Config

public class Config
extends Object

Central configuration object for the Faban harness. Fields are initialized as the harness is brought up and should never be changed.


Nested Class Summary
static class Config.DaemonModes
          Enumeration for daemon modes.
static class Config.HostInfo
          Host information structure.
 
Field Summary
static int AGENT_PORT
          The agent daemon port.
static String ANALYSIS_DIR
          The directory containing analysis output.
static String ARCH_DIR
          Directory name containing architecture-specific files.
static String BENCHMARK_DIR
          The directory containing the benchmark.
static String BENCHMARK_DOWNLOAD_PATH
          Context path for benchmark downloads.
static String BIN_DIR
          The directory containing the binary files.
static String CLI_SUBMITTER
          Submitter used when submitting runs through the FabanCLI.
static String CMD_AGENT
          Command agent name in registry.
static String CONFIG_DIR
          The Faban configuration directory.
static String CONFIG_FILE
          The Faban configuration file.
static Config.DaemonModes daemonMode
          The mode of the run daemon in this configuration.
static String DEFAULT_LOG_FILE
          The default log file.
static int DEFAULT_PRIORITY
          The default priority.
static String DEPLOY_PASSWORD
          Password used for deploying benchmarks and services.
static String DEPLOY_USER
          User name used for deploying benchmarks and services.
static String FABAN_HOME
          The faban installation directory.
static String FABAN_HOST
          The current host name.
static String FABAN_ROOT
          The web root context to access Faban.
static String FABAN_URL
          The full URL used for accessing Faban from inside the rig.
static String FILE_AGENT
          File agent name in registry.
static String HARNESS_NAME
          The harness name.
static String HARNESS_VERSION
          The harness version.
static int HIGHER_PRIORITY
          The higher priority.
static String LIB_DIR
          Directory containing jars and libraries.
static String LOG_FILE
          The log file name.
static int LOG_VIEW_BUFFER_SIZE
          The size of the log view, in entries.
static int LOGGING_PORT
          The logging port.
static LoginConfiguration LOGIN_CONFIG
          The login configuration.
static String loginHint
          Tooltip help message for the login prompt.
static String loginPrompt
          The login prompt.
static String OS_DIR
          Directory name containing OS-specific files.
static String OUT_DIR
          The output directory.
static String passwordHint
          Tooltip help message for the password prompt.
static String passwordPrompt
          The password prompt.
static Config.HostInfo[] pollHosts
          Host names of the pollers.
static String POST_DIR
          Path under result to store postprocessing results.
static Set<String> PRINCIPALS
          The login principals.
static String PROFILES_DIR
          The directory containing user profiles.
static URL[] repositoryURLs
          URLs for Faban repositories, if enabled.
static String RESULT_INFO
          resultinfo contains a single line summary result.
static int RMI_PORT
          The RMI registry port.
static String RUNQ_DIR
          The directory containing the run queue.
static boolean SECURITY_ENABLED
          Whether or not security is enabled.
static String SEQUENCE_FILE
          The name of the sequence file.
static String SERVICE_DIR
          The directory containing services.
static String SERVICE_DOWNLOAD_PATH
          Context path for service downloads.
static String SUBMIT_PASSWORD
          Submitter password for the FabanCLI.
static boolean targetting
          Faban repositories, targeting feature disabled by default.
static ExecutorService THREADPOOL
          Generic thread pool.
static String TMP_DIR
          Temporary directory name.
static String TOOL_AGENT
          Tool agent name in registry.
 
Constructor Summary
Config()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HARNESS_NAME

public static final String HARNESS_NAME
The harness name.

See Also:
Constant Field Values

HARNESS_VERSION

public static final String HARNESS_VERSION
The harness version.

See Also:
Constant Field Values

LOG_FILE

public static final String LOG_FILE
The log file name.

See Also:
Constant Field Values

LOGGING_PORT

public static int LOGGING_PORT
The logging port.


RMI_PORT

public static int RMI_PORT
The RMI registry port.


AGENT_PORT

public static int AGENT_PORT
The agent daemon port.


RESULT_INFO

public static final String RESULT_INFO
resultinfo contains a single line summary result.

See Also:
Constant Field Values

CMD_AGENT

public static final String CMD_AGENT
Command agent name in registry.

See Also:
Constant Field Values

FILE_AGENT

public static final String FILE_AGENT
File agent name in registry.

See Also:
Constant Field Values

TOOL_AGENT

public static final String TOOL_AGENT
Tool agent name in registry.

See Also:
Constant Field Values

BENCHMARK_DOWNLOAD_PATH

public static final String BENCHMARK_DOWNLOAD_PATH
Context path for benchmark downloads.

See Also:
Constant Field Values

SERVICE_DOWNLOAD_PATH

public static final String SERVICE_DOWNLOAD_PATH
Context path for service downloads.

See Also:
Constant Field Values

DEFAULT_PRIORITY

public static final int DEFAULT_PRIORITY
The default priority.

See Also:
Constant Field Values

HIGHER_PRIORITY

public static final int HIGHER_PRIORITY
The higher priority.

See Also:
Constant Field Values

POST_DIR

public static final String POST_DIR
Path under result to store postprocessing results.

See Also:
Constant Field Values

ARCH_DIR

public static String ARCH_DIR
Directory name containing architecture-specific files.


OS_DIR

public static String OS_DIR
Directory name containing OS-specific files.


TMP_DIR

public static String TMP_DIR
Temporary directory name.


FABAN_HOST

public static String FABAN_HOST
The current host name.


FABAN_HOME

public static String FABAN_HOME
The faban installation directory.


FABAN_ROOT

public static String FABAN_ROOT
The web root context to access Faban.


FABAN_URL

public static String FABAN_URL
The full URL used for accessing Faban from inside the rig.


CONFIG_DIR

public static String CONFIG_DIR
The Faban configuration directory.


RUNQ_DIR

public static String RUNQ_DIR
The directory containing the run queue.


OUT_DIR

public static String OUT_DIR
The output directory.


ANALYSIS_DIR

public static String ANALYSIS_DIR
The directory containing analysis output.


SEQUENCE_FILE

public static String SEQUENCE_FILE
The name of the sequence file.


BENCHMARK_DIR

public static String BENCHMARK_DIR
The directory containing the benchmark.


SERVICE_DIR

public static String SERVICE_DIR
The directory containing services.


PROFILES_DIR

public static String PROFILES_DIR
The directory containing user profiles.


BIN_DIR

public static String BIN_DIR
The directory containing the binary files.


LIB_DIR

public static String LIB_DIR
Directory containing jars and libraries.


CONFIG_FILE

public static String CONFIG_FILE
The Faban configuration file.


DEFAULT_LOG_FILE

public static String DEFAULT_LOG_FILE
The default log file.


LOG_VIEW_BUFFER_SIZE

public static int LOG_VIEW_BUFFER_SIZE
The size of the log view, in entries.


THREADPOOL

public static ExecutorService THREADPOOL
Generic thread pool.


SECURITY_ENABLED

public static boolean SECURITY_ENABLED
Whether or not security is enabled.


loginPrompt

public static String loginPrompt
The login prompt.


loginHint

public static String loginHint
Tooltip help message for the login prompt.


passwordPrompt

public static String passwordPrompt
The password prompt.


passwordHint

public static String passwordHint
Tooltip help message for the password prompt.


LOGIN_CONFIG

public static LoginConfiguration LOGIN_CONFIG
The login configuration. This includes information such as the provider.


PRINCIPALS

public static Set<String> PRINCIPALS
The login principals.


DEPLOY_USER

public static String DEPLOY_USER
User name used for deploying benchmarks and services.


DEPLOY_PASSWORD

public static String DEPLOY_PASSWORD
Password used for deploying benchmarks and services.


CLI_SUBMITTER

public static String CLI_SUBMITTER
Submitter used when submitting runs through the FabanCLI.


SUBMIT_PASSWORD

public static String SUBMIT_PASSWORD
Submitter password for the FabanCLI.


daemonMode

public static Config.DaemonModes daemonMode
The mode of the run daemon in this configuration.


pollHosts

public static Config.HostInfo[] pollHosts
Host names of the pollers.


repositoryURLs

public static URL[] repositoryURLs
URLs for Faban repositories, if enabled.


targetting

public static boolean targetting
Faban repositories, targeting feature disabled by default.

Constructor Detail

Config

public Config()