com.xebialabs.deployit.plugin.jbossdm.container
Class ServerGroup

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
          extended by com.xebialabs.deployit.plugin.jbossdm.container.ServerGroup
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, com.xebialabs.deployit.plugin.api.udm.Container, com.xebialabs.deployit.plugin.api.udm.Taggable, ApplicationContainer, CliManagedContainer, com.xebialabs.deployit.plugin.overthere.HostContainer, java.io.Serializable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>

@Metadata(description="JBoss Server Group")
public class ServerGroup
extends com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
implements ApplicationContainer, CliManagedContainer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
 
Constructor Summary
ServerGroup()
           
 
Method Summary
 java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> controlTaskDispatch(java.lang.String name)
           
 com.xebialabs.deployit.plugin.overthere.Host getHost()
           
 CliManagingContainer getManagingContainer()
           
 Mode getMode()
           
 java.lang.String getTargetServerGroup(boolean undeployment)
          Returns the server group name the application container works on.
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
getTags, setTags
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, get$token, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, set$token, setId, setProperty, setSyntheticProperties, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.Taggable
getTags, setTags
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
getId, getName, getProperty, getSyntheticProperties, getSyntheticProperty, getType, hasProperty, putSyntheticProperty, setId, setProperty
 

Constructor Detail

ServerGroup

public ServerGroup()
Method Detail

controlTaskDispatch

public java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> controlTaskDispatch(java.lang.String name)

getManagingContainer

public CliManagingContainer getManagingContainer()
Specified by:
getManagingContainer in interface CliManagedContainer

getTargetServerGroup

public java.lang.String getTargetServerGroup(boolean undeployment)
Description copied from interface: ApplicationContainer
Returns the server group name the application container works on.

Specified by:
getTargetServerGroup in interface ApplicationContainer
Parameters:
undeployment - whether you want to know this for undeployment,
Returns:
a String like --all-server-groups or --server-groups=name. Returns the empty string for standalone servers.

getMode

public Mode getMode()
Specified by:
getMode in interface ApplicationContainer

getHost

public com.xebialabs.deployit.plugin.overthere.Host getHost()
Specified by:
getHost in interface com.xebialabs.deployit.plugin.overthere.HostContainer