public class ClusterBinding extends Object implements oracle.fmwplatform.envspec.common.Tunable<Domain>
Modifier and Type | Field and Description |
---|---|
static String |
RESERVED_TOKEN_CLUSTER |
Constructor and Description |
---|
ClusterBinding() |
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 ClusterBinding.
|
String |
getClusterRef()
Returns the id of the Cluster associated with this ClusterBinding.
|
String |
getName()
Returns the name of the Cluster.
|
Domain |
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 TuningParameters for this ClusterBinding or null if no TuningParameters are available.
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
ClusterBinding |
setClusterRef(String clusterRef)
Sets the Cluster id associated with this ClusterBinding.
|
ClusterBinding |
setName(String name)
Sets the name of this ClusterBinding.
|
ClusterBinding |
setParent(Domain containerDomain)
Sets the container object that contains this.
|
ClusterBinding |
setTuningParameters(TuningParameters tuningParameters)
Sets the TuningParameters for this ClusterBinding 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_CLUSTER
public boolean addSetting(String alias, String value)
addSetting
in interface oracle.fmwplatform.envspec.common.Tunable<Domain>
alias
- the alias of a Settingvalue
- the value of a Settingpublic String getClusterRef()
public String getName()
public Domain getParent()
oracle.fmwplatform.envspec.common.ContainerAware
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Domain>
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<Domain>
public ClusterBinding setClusterRef(String clusterRef)
clusterRef
- the Cluster id associated with this ClusterBindingIllegalArgumentException
- if input parameter is nullpublic ClusterBinding setName(String name)
name
- the name of this ClusterBindingIllegalArgumentException
- if input parameter is nullpublic ClusterBinding setParent(Domain containerDomain) throws IllegalArgumentException
oracle.fmwplatform.envspec.common.ContainerAware
setParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Domain>
containerDomain
- the parent containerIllegalArgumentException
public ClusterBinding setTuningParameters(TuningParameters tuningParameters)
setTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<Domain>
tuningParameters
- the TuningParameters for this ClusterBinding 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()