public class CompositeInDomainTarget extends ModelTargetImpl
ModelTarget.ModelTargetType
LOGGER
ALL_NAMES_WILDCARD, ID_PREFIX, NAME_PREFIX, VALIDATE_MODEL_PROPERTY
Constructor and Description |
---|
CompositeInDomainTarget(String compositeDeploymentId,
String domainName)
Create a Composite in Domain target object.
|
Modifier and Type | Method and Description |
---|---|
String |
getCompositeDeploymentId()
Return the id of the target composite deployment.
|
<T> T |
getContainerFromModel(EnvironmentModel model)
Return the model object of the target container.
|
String |
getContainerName()
Return the name (or id) of the target's container.
|
ModelTarget.ModelTargetType |
getContainerType()
Return the type of the target's container.
|
String |
getDomainName()
Return the name of the containing domain.
|
String |
getTargetName()
Return the name (or id) of the target object.
|
<T> List<T> |
getTargetsFromModel(EnvironmentModel model)
Return a list of model objects which should be targeted.
|
ModelTarget.ModelTargetType |
getTargetType()
Return the type of the target.
|
CompositeInDomainTarget |
setCompositeDeploymentId(String compositeDeploymentId)
Set the id of the target composite deployment.
|
CompositeInDomainTarget |
setDomainName(String domainName)
Set the name of the containing domain.
|
equals, getDomainById, getDomainByName, getNodeManagerByName, getSingleTargetFromModel, hashCode, isAllNamesWildcard, isTargetId, isTargetName, stripNamePrefix, toCompactString, toCompactString, toString, validate
public String getCompositeDeploymentId()
public CompositeInDomainTarget setCompositeDeploymentId(String compositeDeploymentId)
compositeDeploymentId
- composite deployment id.public String getDomainName()
public CompositeInDomainTarget setDomainName(String domainName)
domainName
- domain name.public String getTargetName()
ModelTarget
getTargetName
in interface ModelTarget
getTargetName
in class ModelTargetImpl
public String getContainerName()
ModelTarget
getContainerName
in interface ModelTarget
getContainerName
in class ModelTargetImpl
public ModelTarget.ModelTargetType getTargetType()
ModelTarget
getTargetType
in interface ModelTarget
getTargetType
in class ModelTargetImpl
public ModelTarget.ModelTargetType getContainerType()
ModelTarget
getContainerType
in interface ModelTarget
getContainerType
in class ModelTargetImpl
public <T> List<T> getTargetsFromModel(EnvironmentModel model) throws FMWEnvSpecException
ModelTarget
getTargetsFromModel
in interface ModelTarget
getTargetsFromModel
in class ModelTargetImpl
T
- type derived by compiler from the assignment statement.model
- the environment model.FMWEnvSpecException
- if an error occurs.public <T> T getContainerFromModel(EnvironmentModel model) throws FMWEnvSpecException
ModelTarget
getContainerFromModel
in interface ModelTarget
getContainerFromModel
in class ModelTargetImpl
T
- type derived by compiler from the assignment statement.model
- the environment model.FMWEnvSpecException
- if an error occurs.