public class ClusterBinding extends Object implements oracle.fmwplatform.envspec.common.Tunable<Domain>
| Modifier and Type | Field and Description |
|---|---|
static String |
RESERVED_TOKEN_CLUSTER
Token used by discovery as a variable to be replaced by cluster name.
|
| 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 parent of this object.
|
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.ContainerAwaregetParent in interface oracle.fmwplatform.envspec.common.ContainerAware<Domain>public Map<String,String> getReservedKeywords()
oracle.fmwplatform.envspec.common.ReservedKeywordProvidergetReservedKeywords in interface oracle.fmwplatform.envspec.common.ReservedKeywordProviderpublic 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.ContainerAwaresetParent in interface oracle.fmwplatform.envspec.common.ContainerAware<Domain>containerDomain - the parent containerIllegalArgumentExceptionpublic 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.Substitutablekey - the key of the variable to be checkedpublic String substitute(String text)
substitute in interface oracle.fmwplatform.envspec.common.Substitutabletext - the original textpublic String toXmlCompactString()
public String toXmlString()
public String toCompactString()