public class NodeManager extends Object implements oracle.fmwplatform.envspec.common.EntityWithId, oracle.fmwplatform.envspec.common.Tunable<Topology>
Modifier and Type | Field and Description |
---|---|
static String |
RESERVED_TOKEN_NODE_MANAGER |
Constructor and Description |
---|
NodeManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
addSetting(String alias, String value)
Convenience method to add a setting with the given alias and value, to the tuning parameters for this NodeManager.
|
String |
getCredentialRef()
Returns the CredentialReference for the Credential that is required to connect to this NodeManager.
|
String |
getId()
Returns the id used to reference this model object.
|
String |
getName()
Returns the name of this NodeManager.
|
Topology |
getParent()
Returns the object that contains this entity
|
Map<String,String> |
getReservedKeywords()
Returns a map containing any reserved keywords and values for variable substitution for this entity
|
TuningParameters |
getTuningParameters()
Returns the tuning parameters
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
NodeManager |
setCredentialRef(String credentialRef)
Sets the Credential reference for the Credential that is required to connect to this NodeManager.
|
NodeManager |
setId(String id)
Sets the id used to reference this model object.
|
NodeManager |
setName(String name)
Sets the name of the NodeManager.
|
NodeManager |
setParent(Topology containerTopology)
Sets the container object that contains this.
|
NodeManager |
setTuningParameters(TuningParameters tuningParameters)
Sets the TuningParameters for this NodeManager or null if no TuningParameters.
|
String |
substitute(String text)
Replaces substitution keys in the specified text with their corresponding values.
|
String |
toCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in JSON 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 static final String RESERVED_TOKEN_NODE_MANAGER
public boolean addSetting(String alias, String value)
addSetting
in interface oracle.fmwplatform.envspec.common.Tunable<Topology>
alias
- the alias of a Settingvalue
- the value of a Settingpublic String getCredentialRef()
public String getId()
oracle.fmwplatform.envspec.common.EntityWithId
getId
in interface oracle.fmwplatform.envspec.common.EntityWithId
public String getName()
public Topology getParent()
oracle.fmwplatform.envspec.common.ContainerAware
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Topology>
public Map<String,String> getReservedKeywords()
oracle.fmwplatform.envspec.common.ReservedKeywordProvider
getReservedKeywords
in interface oracle.fmwplatform.envspec.common.ReservedKeywordProvider
public TuningParameters getTuningParameters()
getTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<Topology>
public NodeManager setCredentialRef(String credentialRef)
credentialRef
- the reference id for the Credential to be associated to this NodeManagerpublic NodeManager setId(String id)
oracle.fmwplatform.envspec.common.EntityWithId
setId
in interface oracle.fmwplatform.envspec.common.EntityWithId
id
- the id to be used when referencing this model objectpublic NodeManager setName(String name)
name
- the name of the NodeManagerpublic NodeManager setParent(Topology containerTopology) throws IllegalArgumentException
oracle.fmwplatform.envspec.common.ContainerAware
setParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Topology>
containerTopology
- the parent containerIllegalArgumentException
public NodeManager setTuningParameters(TuningParameters tuningParameters)
setTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<Topology>
tuningParameters
- the TuningParameters for this NodeManager or null if no TuningParameterspublic String getVariableValue(String key)
getVariableValue
in interface oracle.fmwplatform.envspec.common.Substitutable
key
- the key of the variable to be checkedpublic String substitute(String text)
substitute
in interface oracle.fmwplatform.envspec.common.Substitutable
text
- the original textpublic String toXmlCompactString()
public String toXmlString()
public String toCompactString()