public class NodeManager extends Object implements oracle.fmwplatform.envspec.common.EntityWithId, oracle.fmwplatform.envspec.common.Tunable<Topology>
Modifier and Type | Class and Description |
---|---|
static class |
NodeManager.ConnectionType
Represents the role used to connect to the database, e.g. SYSDBA.
|
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 |
getAddress()
Return the address where the node manager is located
|
oracle.fmwplatform.envspec.lookup.data.AliasCategory |
getAliasCategory() |
String |
getCredentialRef()
Returns the CredentialReference for the Credential that is required to connect to this NodeManager.
|
String |
getId()
Get the ID.
|
String |
getName()
Returns the name of this NodeManager.
|
Topology |
getParent()
Returns the object that contains this entity
|
String |
getPort()
Return the port where the node manager listens
|
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
|
NodeManager.ConnectionType |
getType()
Return the type of connection for the node manager
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
NodeManager |
setAddress(String address)
Set the address of where the node manager is located
|
NodeManager |
setCredentialRef(String credentialRef)
Sets the Credential reference for the Credential that is required to connect to this NodeManager.
|
NodeManager |
setId(String id)
Set the ID.
|
NodeManager |
setName(String name)
Sets the name of the NodeManager.
|
NodeManager |
setParent(Topology containerTopology)
Sets the container object that contains this.
|
NodeManager |
setPort(String port)
Set the port where the node manager listens
|
NodeManager |
setTuningParameters(TuningParameters tuningParameters)
Sets the TuningParameters for this NodeManager or null if no TuningParameters.
|
NodeManager |
setType(NodeManager.ConnectionType type)
Set the enum value for the node manager connection type
|
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 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 static final String RESERVED_TOKEN_NODE_MANAGER
public String getId()
getId
in interface oracle.fmwplatform.envspec.common.EntityWithId
public NodeManager setId(String id)
setId
in interface oracle.fmwplatform.envspec.common.EntityWithId
id
- the id to be used when referencing this model objectpublic String getName()
getName
in interface oracle.fmwplatform.envspec.common.Tunable<Topology>
public NodeManager setName(String name)
name
- the name of the NodeManagerpublic String getAddress()
public NodeManager setAddress(String address)
address
- of node managerpublic String getPort()
public NodeManager setPort(String port)
port
- of node managerpublic NodeManager.ConnectionType getType()
public NodeManager setType(NodeManager.ConnectionType type)
type
- of connectionpublic String getCredentialRef()
public NodeManager setCredentialRef(String credentialRef)
credentialRef
- the reference id for the Credential to be associated to this NodeManagerpublic 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 TuningParameters getTuningParameters()
getTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<Topology>
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 Topology getParent()
oracle.fmwplatform.envspec.common.ContainerAware
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Topology>
public NodeManager setParent(Topology containerTopology)
oracle.fmwplatform.envspec.common.ContainerAware
setParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Topology>
containerTopology
- the parent containerpublic Map<String,String> getReservedKeywords()
oracle.fmwplatform.envspec.common.ReservedKeywordProvider
getReservedKeywords
in interface oracle.fmwplatform.envspec.common.ReservedKeywordProvider
public 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 oracle.fmwplatform.envspec.lookup.data.AliasCategory getAliasCategory()
getAliasCategory
in interface oracle.fmwplatform.envspec.common.Tunable<Topology>
public String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()