public class MigratableTargetBinding extends Object implements oracle.fmwplatform.envspec.common.EntityWithId, oracle.fmwplatform.envspec.common.ContainerAware<Domain>, oracle.fmwplatform.envspec.common.Tunable<Domain>
Modifier and Type | Field and Description |
---|---|
static String |
RESERVED_TOKEN_MIGRATABLE |
Constructor and Description |
---|
MigratableTargetBinding() |
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
ServerBinding.
|
oracle.fmwplatform.envspec.lookup.data.AliasCategory |
getAliasCategory() |
String |
getClusterRef()
Get the cluster to which this migratable target is associated.
|
List<String> |
getConstrainedCandidateServers()
Return the list of server refs that this migratable target is constrained to use
|
String |
getDestinationServerRef()
Get the destination server reference.
|
String |
getHostingServerRef()
Get the hosting server reference.
|
String |
getId()
Get the ID of the model object.
|
String |
getMigratableTargetRef()
Get the migratable target id with which this binding is associated
|
String |
getName()
Get the name of the migratable target.
|
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 tuning parameters.
|
String |
getUserPreferredServerRef()
Get the user preferred server.
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
MigratableTargetBinding |
setClusterRef(String clusterRef)
Set the cluster to which this migratable target is associated.
|
MigratableTargetBinding |
setConstrainedCandidateServers(List<String> serverRefs)
Set the list of server refs that this migratable target is constrained to sue
|
MigratableTargetBinding |
setDestinationServerRef(String destinationServerRef)
Set the destination server reference.
|
MigratableTargetBinding |
setHostingServerRef(String hostingServerRef)
Set the hosting server reference.
|
MigratableTargetBinding |
setId(String id)
Set the ID of the model object.
|
MigratableTargetBinding |
setMigratableTargetRef(String migratableTargetRef)
Set the migratable target id with which this binding is associated
|
MigratableTargetBinding |
setName(String name)
Set the name of the migtatable target.
|
MigratableTargetBinding |
setParent(Domain domain)
Sets the container object that contains this.
|
MigratableTargetBinding |
setTuningParameters(TuningParameters tuningParameters)
Sets the TuningParameters for this MigratableTargetBinding or null if no TuningParameters.
|
MigratableTargetBinding |
setUserPreferredServerRef(String userPreferredServerRef)
Set the user preferred server.
|
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_MIGRATABLE
public String getId()
getId
in interface oracle.fmwplatform.envspec.common.EntityWithId
public MigratableTargetBinding setId(String id)
setId
in interface oracle.fmwplatform.envspec.common.EntityWithId
id
- the id to be used when referencing this model objectpublic Domain getParent()
oracle.fmwplatform.envspec.common.ContainerAware
getParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Domain>
public MigratableTargetBinding setParent(Domain domain)
oracle.fmwplatform.envspec.common.ContainerAware
setParent
in interface oracle.fmwplatform.envspec.common.ContainerAware<Domain>
domain
- the parent containerpublic Map<String,String> getReservedKeywords()
oracle.fmwplatform.envspec.common.ReservedKeywordProvider
getReservedKeywords
in interface oracle.fmwplatform.envspec.common.ReservedKeywordProvider
public String getClusterRef()
public MigratableTargetBinding setClusterRef(String clusterRef)
clusterRef
- the cluster ID to usepublic String getMigratableTargetRef()
public MigratableTargetBinding setMigratableTargetRef(String migratableTargetRef)
migratableTargetRef
- in the domain profilepublic String getDestinationServerRef()
public MigratableTargetBinding setDestinationServerRef(String destinationServerRef)
destinationServerRef
- the new destination server referencepublic String getHostingServerRef()
public MigratableTargetBinding setHostingServerRef(String hostingServerRef)
hostingServerRef
- the new hosting server referencepublic String getName()
getName
in interface oracle.fmwplatform.envspec.common.Tunable<Domain>
public MigratableTargetBinding setName(String name)
name
- the new namepublic String getUserPreferredServerRef()
public MigratableTargetBinding setUserPreferredServerRef(String userPreferredServerRef)
userPreferredServerRef
- the new value of the user preferred serverpublic List<String> getConstrainedCandidateServers()
public MigratableTargetBinding setConstrainedCandidateServers(List<String> serverRefs)
serverRefs
- for this migratable targetpublic MigratableTargetBinding setTuningParameters(TuningParameters tuningParameters)
setTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<Domain>
tuningParameters
- the TuningParameters for this MigratableTargetBinding or null if no TuningParameterspublic oracle.fmwplatform.envspec.lookup.data.AliasCategory getAliasCategory()
getAliasCategory
in interface oracle.fmwplatform.envspec.common.Tunable<Domain>
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 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 toJsonCompactString()
public String toJsonString()
public String toCompactString()
public String toString()
public TuningParameters getTuningParameters()
oracle.fmwplatform.envspec.common.Tunable
getTuningParameters
in interface oracle.fmwplatform.envspec.common.Tunable<Domain>