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

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.CliBasedContainer
              extended by com.xebialabs.deployit.plugin.jbossdm.container.Domain
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, CliManagingContainer, ResourceContainer, com.xebialabs.deployit.plugin.overthere.HostContainer, java.io.Serializable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>

@Metadata(inspectable=true)
public class Domain
extends CliBasedContainer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
 
Constructor Summary
Domain()
           
 
Method Summary
 Mode getMode()
           
 java.util.List<Profile> getProfiles()
           
 java.util.List<ServerGroup> getServerGroups()
           
 java.lang.String getTargetServerGroup(boolean undeployment)
          Returns the server group name the application container works on.
 void inspect(com.xebialabs.deployit.plugin.api.inspection.InspectionContext ctx)
           
 void setProfiles(java.util.List<Profile> profiles)
           
 void setServerGroups(java.util.List<ServerGroup> serverGroups)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.jbossdm.container.CliBasedContainer
controlTaskDispatch, execute, getAdminHostAddress, getCliExecutable, getCliScriptPrefix, getHome, getHost, getLibraries, getManagingContainer, getPassword, getPort, getProfile, getUsername, isEnableDaemon, setAdminHostAddress, setCliScriptPrefix, setEnableDaemon, setHome, setHost, setLibraries, setPassword, setPort, setUsername
 
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
 

Constructor Detail

Domain

public Domain()
Method Detail

inspect

public void inspect(com.xebialabs.deployit.plugin.api.inspection.InspectionContext ctx)

getTargetServerGroup

public java.lang.String getTargetServerGroup(boolean undeployment)
Description copied from interface: ApplicationContainer
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.

getServerGroups

public java.util.List<ServerGroup> getServerGroups()

setServerGroups

public void setServerGroups(java.util.List<ServerGroup> serverGroups)

getProfiles

public java.util.List<Profile> getProfiles()

setProfiles

public void setProfiles(java.util.List<Profile> profiles)

getMode

public Mode getMode()