public class NodeManagerOnHostTarget extends ModelTargetImpl
ModelTarget.ModelTargetTypeALL_NAMES_WILDCARD, ID_PREFIX, NAME_PREFIX, VALIDATE_MODEL_PROPERTY| Constructor and Description |
|---|
NodeManagerOnHostTarget(String nodeManagerName, String hostName)
Create a node manager on host model target.
|
| Modifier and Type | Method and Description |
|---|---|
<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 |
getHostName()
Return the name of the host containing the target node manager.
|
String |
getNodeManagerName()
Return the name of the target node manager.
|
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.
|
NodeManagerOnHostTarget |
setHostName(String hostName)
Set the name of the host containing the target node manager.
|
NodeManagerOnHostTarget |
setNodeManagerName(String nodeManagerName)
Set the name of the target node manager.
|
getDomainById, getDomainByName, getNodeManagerByName, getSingleTargetFromModel, isAllNamesWildcard, isTargetId, isTargetName, stripNamePrefix, toCompactString, toCompactString, validatepublic String getNodeManagerName()
public NodeManagerOnHostTarget setNodeManagerName(String nodeManagerName)
nodeManagerName - node mamager name.public String getHostName()
public NodeManagerOnHostTarget setHostName(String hostName)
hostName - host name.public String getTargetName()
ModelTargetgetTargetName in interface ModelTargetgetTargetName in class ModelTargetImplpublic String getContainerName()
ModelTargetgetContainerName in interface ModelTargetgetContainerName in class ModelTargetImplpublic ModelTarget.ModelTargetType getTargetType()
ModelTargetgetTargetType in interface ModelTargetgetTargetType in class ModelTargetImplpublic ModelTarget.ModelTargetType getContainerType()
ModelTargetgetContainerType in interface ModelTargetgetContainerType in class ModelTargetImplpublic <T> List<T> getTargetsFromModel(EnvironmentModel model) throws FMWEnvSpecException
ModelTargetgetTargetsFromModel in interface ModelTargetgetTargetsFromModel in class ModelTargetImplT - 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
ModelTargetgetContainerFromModel in interface ModelTargetgetContainerFromModel in class ModelTargetImplT - type derived by compiler from the assignment statement.model - the environment model.FMWEnvSpecException - if an error occurs.