| Package | Description |
|---|---|
| org.rhq.enterprise.agent |
| Modifier and Type | Method and Description |
|---|---|
protected abstract EnvironmentScriptFileUpdate.NameValuePair |
EnvironmentScriptFileUpdate.parseEnvironmentVariableLine(String line)
Parses the given string that is a line from a environment script file.
|
protected EnvironmentScriptFileUpdate.NameValuePair |
WindowsEnvironmentScriptFileUpdate.parseEnvironmentVariableLine(String line) |
protected EnvironmentScriptFileUpdate.NameValuePair |
UnixEnvironmentScriptFileUpdate.parseEnvironmentVariableLine(String line) |
protected EnvironmentScriptFileUpdate.NameValuePair |
JavaServiceWrapperConfigurationFileUpdate.parseEnvironmentVariableLine(String line) |
protected EnvironmentScriptFileUpdate.NameValuePair |
JavaServiceWrapperEnvironmentScriptFileUpdate.parseEnvironmentVariableLine(String line) |
| Modifier and Type | Method and Description |
|---|---|
List<EnvironmentScriptFileUpdate.NameValuePair> |
EnvironmentScriptFileUpdate.convertPropertiesToNameValuePairList(Properties props) |
List<EnvironmentScriptFileUpdate.NameValuePair> |
EnvironmentScriptFileUpdate.loadExisting()
Loads and returns the properties that exist currently in the properties file.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
EnvironmentScriptFileUpdate.createEnvironmentVariableLine(EnvironmentScriptFileUpdate.NameValuePair nvp)
Creates a line that defines an environment variable name and its value.
|
protected String |
WindowsEnvironmentScriptFileUpdate.createEnvironmentVariableLine(EnvironmentScriptFileUpdate.NameValuePair nvp) |
protected String |
UnixEnvironmentScriptFileUpdate.createEnvironmentVariableLine(EnvironmentScriptFileUpdate.NameValuePair nvp) |
protected String |
JavaServiceWrapperConfigurationFileUpdate.createEnvironmentVariableLine(EnvironmentScriptFileUpdate.NameValuePair nvp) |
protected String |
JavaServiceWrapperEnvironmentScriptFileUpdate.createEnvironmentVariableLine(EnvironmentScriptFileUpdate.NameValuePair nvp) |
void |
EnvironmentScriptFileUpdate.update(EnvironmentScriptFileUpdate.NameValuePair nvp)
Updates the script file so it will contain the key with the value (where the key is the
name of the environment variable).
|
| Modifier and Type | Method and Description |
|---|---|
Properties |
EnvironmentScriptFileUpdate.convertNameValuePairListToProperties(List<EnvironmentScriptFileUpdate.NameValuePair> list) |
void |
EnvironmentScriptFileUpdate.update(List<EnvironmentScriptFileUpdate.NameValuePair> newValuesList,
boolean deleteMissing)
Updates the existing script file with the new name/value settings.
|
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.