com.xebialabs.deployit.plugin.jbossdm.container
Interface ApplicationContainer

All Superinterfaces:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, java.io.Serializable
All Known Implementing Classes:
CliBasedContainer, Domain, ServerGroup, StandaloneServer

public interface ApplicationContainer
extends com.xebialabs.deployit.plugin.api.udm.ConfigurationItem

A JBoss application server or server group.


Field Summary
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
 
Method Summary
 Mode getMode()
           
 java.lang.String getTargetServerGroup(boolean undeployment)
          Returns the server group name the application container works on.
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
getId, getName, getProperty, getSyntheticProperties, getSyntheticProperty, getType, hasProperty, putSyntheticProperty, setId, setProperty
 

Method Detail

getTargetServerGroup

java.lang.String getTargetServerGroup(boolean undeployment)
Returns the server group name the application container works on.

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

Mode getMode()