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.
|
oracle.fmwplatform.envspec.lookup.data.AliasCategory |
getAliasCategory() |
String |
getClusterRef()
Returns the id of the Cluster associated with this ClusterBinding.
|
List<ServerBinding> |
getMembers()
Returns the list of servers for this cluster.
|
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.
|
boolean |
isDynamicCluster() |
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)
Set the tuning parameters.
|
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_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()
getName in interface oracle.fmwplatform.envspec.common.Tunable<Domain>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 List<ServerBinding> getMembers() throws FMWEnvSpecException
FMWEnvSpecException - if an error is encounteredpublic TuningParameters getTuningParameters()
getTuningParameters in interface oracle.fmwplatform.envspec.common.Tunable<Domain>public ClusterBinding setTuningParameters(TuningParameters tuningParameters)
setTuningParameters in interface oracle.fmwplatform.envspec.common.Tunable<Domain>tuningParameters - the tuning parameters to setpublic oracle.fmwplatform.envspec.lookup.data.AliasCategory getAliasCategory()
getAliasCategory in interface oracle.fmwplatform.envspec.common.Tunable<Domain>public ClusterBinding setClusterRef(String clusterRef)
clusterRef - the Cluster id associated with this ClusterBindingpublic ClusterBinding setName(String name)
name - the name of this ClusterBindingpublic ClusterBinding setParent(Domain containerDomain)
oracle.fmwplatform.envspec.common.ContainerAwaresetParent in interface oracle.fmwplatform.envspec.common.ContainerAware<Domain>containerDomain - the parent containerpublic boolean isDynamicCluster()
public 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 toJsonCompactString()
public String toJsonString()
public String toCompactString()