public class TuningParameters extends Object implements oracle.fmwplatform.envspec.common.Versioned
Constructor and Description |
---|
TuningParameters() |
TuningParameters(TuningParameters original) |
Modifier and Type | Method and Description |
---|---|
boolean |
addSetting(String alias,
String value)
Add a setting with the given alias and value, to this tuning parameter instance.
|
boolean |
addTuningParameters(String tuningParametersName)
Add a TuningParameters to the list of TuningParameters in this TuningParameters identified by the
tuningParametersName.
|
boolean |
addTuningParameters(String tuningParametersName,
String version,
EnvironmentModelFileLocator locator)
Add a TuningParameters to the list of TuningParameters in this TuningParameters identified by the
tuningParametersName.
|
boolean |
addTuningParameters(TuningParameters tuningParameters)
Add a TuningParameters to the list of TuningParameters in this TuningParameters.
|
List<MBeanSetting> |
getAllMBeanSettings()
Returns MBeanSettings from this TuningParameters as well as from any references, all the way down the chain of
nested references.
|
List<Setting> |
getAllSettings()
Returns settings from this TuningParameters as well as from any references, all the way down the chain.
|
List<Variable> |
getAllVariables()
Returns the variables from this TuningParameters as well as any referenced TuningParameters, all the way down the
chain.
|
List<WLSTSetting> |
getAllWLSTSettings()
Returns WLSTSettings from this TuningParameters as well as from any references, all the way down the chain of
nested references.
|
Map<String,String> |
getEffectiveVariables()
Returns the combined set of variables from this object as well as any containing objects.
|
String |
getFMWVersionRange()
Returns the range of FMW releases that this model object is supported under.
|
List<MBeanSetting> |
getmBeanSettings()
Returns the mbean settings only from this TuningParameters.
|
String |
getName()
Returns the name for the TuningParameters.
|
String |
getSchemaVersion()
Returns the schema version for the TuningParameters.
|
Setting |
getSetting(String alias)
Returns the Setting for this alias or null if no match found.
|
List<Setting> |
getSettings()
Returns the settings only from this TuningParameters.
|
String |
getSettingValueByAlias(String alias)
Returns the Setting value for this alias or null if no match found.
|
List<TuningParameters> |
getTuningParameters()
The child TuningParameters of this TuningParameters or null if one has not been set.
|
String |
getTuningVariableValue(String key)
Returns the value for the specified variable key.
|
List<Variable> |
getVariables()
Returns the list of variables for this TuningParameters for use in substituting any wildcard values %x%.
|
String |
getVersion()
Returns the consumer specified version of the this model file.
|
List<WLSTSetting> |
getWlstSettings()
Returns the wlst settings only from this TuningParameters.
|
boolean |
removeSetting(String alias)
Removes the Setting for this alias from this tuning parameter instance.
|
TuningParameters |
setFMWVersionRange(String fmwVersionRange)
Sets the the range of FMW releases that this model object is supported under.
|
TuningParameters |
setmBeanSettings(List<MBeanSetting> mBeanSettings)
Sets the mbean settings only from this TuningParameters.
|
TuningParameters |
setName(String name)
Sets the name for the TuningParameters.
|
TuningParameters |
setParent(oracle.fmwplatform.envspec.common.Tunable tunable)
Sets the container of this tuning params object and the entity type.
|
TuningParameters |
setSchemaVersion(String schemaVersion)
Sets the schema version for the TuningParameters.
|
TuningParameters |
setSettings(List<Setting> settings)
Sets the settings only on this TuningParameters.
|
TuningParameters |
setTuningParameters(List<TuningParameters> tuningParameters)
Set the list of child TuningParameters for this TuningParameters
|
TuningParameters |
setVersion(String version)
Sets the consumer specified version of the their model file.
|
TuningParameters |
setWlstSettings(List<WLSTSetting> wlstSettings)
The wlst settings only from this TuningParameters.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public TuningParameters()
public TuningParameters(TuningParameters original)
public boolean addTuningParameters(String tuningParametersName, String version, EnvironmentModelFileLocator locator) throws FMWEnvSpecException
tuningParametersName
- The name of the TuningParameters to be addedversion
- The version of the TuningParameters to be added or null if any version is acceptablelocator
- An EnvironmentModelFileLocator locator that has been initialized with the paths that
are to be searched when finding the TuningParameters or null if only the Oracle Home
needs to be searchedFMWEnvSpecException
- The TuningParameters could not be loadedpublic boolean addTuningParameters(TuningParameters tuningParameters)
tuningParameters
- the TuningParameters to be addedpublic boolean addTuningParameters(String tuningParametersName) throws FMWEnvSpecException
tuningParametersName
- the name to be used to identify the TuningParametersFMWEnvSpecException
- the TuningParameters could not be loadedpublic List<MBeanSetting> getAllMBeanSettings() throws FMWEnvSpecException
FMWEnvSpecException
- when any external TuningParameters file references cannot be readpublic List<Setting> getAllSettings() throws FMWEnvSpecException
FMWEnvSpecException
- when any external TuningParameters file references cannot be readpublic List<Variable> getAllVariables() throws FMWEnvSpecException
FMWEnvSpecException
- when any external TuningParameters file references cannot be readpublic List<WLSTSetting> getAllWLSTSettings() throws FMWEnvSpecException
FMWEnvSpecException
- when any external TuningParameters file references cannot be readpublic Map<String,String> getEffectiveVariables() throws FMWEnvSpecException
FMWEnvSpecException
- when any external TuningParameters file references cannot be readpublic String getTuningVariableValue(String key)
key
- the key of the variable to be checkedpublic List<MBeanSetting> getmBeanSettings()
public String getName()
getName
in interface oracle.fmwplatform.envspec.common.Versioned
public String getSchemaVersion()
getSchemaVersion
in interface oracle.fmwplatform.envspec.common.Versioned
public List<Setting> getSettings()
public String getSettingValueByAlias(String alias) throws FMWEnvSpecException
alias
- the value of a Setting by its key or aliasFMWEnvSpecException
- When any external TuningParameters file references cannot be readpublic Setting getSetting(String alias) throws FMWEnvSpecException
alias
- the value of a Setting by its key or aliasFMWEnvSpecException
- when any external TuningParameters file references cannot be readpublic boolean addSetting(String alias, String value)
alias
- the alias of a Settingvalue
- the value of a Settingpublic boolean removeSetting(String alias) throws FMWEnvSpecException
alias
- the Setting aliasFMWEnvSpecException
- when any external TuningParameters file references cannot be readpublic List<TuningParameters> getTuningParameters()
public List<Variable> getVariables()
public String getVersion()
oracle.fmwplatform.envspec.common.Versioned
getVersion
in interface oracle.fmwplatform.envspec.common.Versioned
public String getFMWVersionRange()
oracle.fmwplatform.envspec.common.Versioned
getFMWVersionRange
in interface oracle.fmwplatform.envspec.common.Versioned
public TuningParameters setFMWVersionRange(String fmwVersionRange)
oracle.fmwplatform.envspec.common.Versioned
setFMWVersionRange
in interface oracle.fmwplatform.envspec.common.Versioned
fmwVersionRange
- the range of FMW releases that this model object is supported underpublic List<WLSTSetting> getWlstSettings()
public TuningParameters setParent(oracle.fmwplatform.envspec.common.Tunable tunable)
tunable
- the object that contains this TuningParameters in itpublic TuningParameters setmBeanSettings(List<MBeanSetting> mBeanSettings)
mBeanSettings
- the mbean settings to be set for this TuningParameters.public TuningParameters setName(String name)
setName
in interface oracle.fmwplatform.envspec.common.Versioned
name
- the name to be set for this TuningParameters.public TuningParameters setSchemaVersion(String schemaVersion)
setSchemaVersion
in interface oracle.fmwplatform.envspec.common.Versioned
schemaVersion
- the schema version for the TuningParameterpublic TuningParameters setSettings(List<Setting> settings)
settings
- the settings only on this TuningParameterpublic TuningParameters setTuningParameters(List<TuningParameters> tuningParameters)
tuningParameters
- the list of child tuningParameters to be set to this TuningParameterspublic TuningParameters setVersion(String version)
oracle.fmwplatform.envspec.common.Versioned
setVersion
in interface oracle.fmwplatform.envspec.common.Versioned
version
- the consumer specified version of the their model file.public TuningParameters setWlstSettings(List<WLSTSetting> wlstSettings)
wlstSettings
- the wlst settings only from this TuningParameterspublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()