|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.common.PegasusConfiguration
public class PegasusConfiguration
A utility class that returns JAVA Properties that need to be set based on a configuration value
| Field Summary | |
|---|---|
static String |
CONDOR_CONFIGURATION_VALUE
The value for the condor configuration. |
static String |
DEPRECATED_CONDOR_CONFIGURATION_VALUE
The value for the condor configuration. |
static String |
DEPRECATED_S3_CONFIGURATION_VALUE
The value for the S3 configuration. |
private LogManager |
mLogger
The logger to use. |
static String |
NON_SHARED_FS_CONFIGURATION_VALUE
The value for the non shared filesystem configuration. |
static String |
PEGASUS_CONFIGURATION_PROPERTY_KEY
The property key for pegasus configuration. |
static String |
SHARED_FS_CONFIGURATION_VALUE
The value for the non shared filesystem configuration. |
| Constructor Summary | |
|---|---|
PegasusConfiguration(LogManager logger)
Overloaded Constructor |
|
| Method Summary | |
|---|---|
protected void |
checkAndSetProperty(PegasusProperties properties,
String key,
String value)
Checks for a property, if it does not exist then sets the property to the value passed |
protected String |
deprecatedValueMessage(String property,
String deprecatedValue,
String updatedValue)
Returns the deperecated value message |
Properties |
getConfigurationProperties(String configuration)
Returns Properties corresponding to a particular configuration. |
private void |
loadConfigurationProperties(PegasusProperties properties)
Loads configuration specific properties into PegasusProperties |
void |
loadConfigurationPropertiesAndOptions(PegasusProperties properties,
PlannerOptions options)
Loads configuration specific properties into PegasusProperties, and adjusts planner options accordingly. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PEGASUS_CONFIGURATION_PROPERTY_KEY
public static final String DEPRECATED_S3_CONFIGURATION_VALUE
public static final String SHARED_FS_CONFIGURATION_VALUE
public static final String NON_SHARED_FS_CONFIGURATION_VALUE
public static final String CONDOR_CONFIGURATION_VALUE
public static final String DEPRECATED_CONDOR_CONFIGURATION_VALUE
private LogManager mLogger
| Constructor Detail |
|---|
public PegasusConfiguration(LogManager logger)
logger - the logger to use.| Method Detail |
|---|
public void loadConfigurationPropertiesAndOptions(PegasusProperties properties,
PlannerOptions options)
properties - the Pegasus Propertiesoptions - the PlannerOptions .private void loadConfigurationProperties(PegasusProperties properties)
properties - the Pegasus Properties.public Properties getConfigurationProperties(String configuration)
configuration - the configuration value.
protected void checkAndSetProperty(PegasusProperties properties,
String key,
String value)
key - the property keyvalue - the value to set to
protected String deprecatedValueMessage(String property,
String deprecatedValue,
String updatedValue)
property - the propertydeprecatedValue - the deprecated valueupdatedValue - the updated value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||