Class CommonDomainContainerConfiguration
- java.lang.Object
-
- org.jboss.as.arquillian.container.domain.CommonDomainContainerConfiguration
-
- All Implemented Interfaces:
org.jboss.arquillian.container.spi.client.container.ContainerConfiguration
public class CommonDomainContainerConfiguration extends Object implements org.jboss.arquillian.container.spi.client.container.ContainerConfiguration
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Constructor Summary
Constructors Constructor Description CommonDomainContainerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthenticationConfig()The URI path for the authentication configuration.Map<String,String>getContainerModeMap()Map<String,String>getContainerNameMap()InetAddressgetManagementAddress()intgetManagementPort()StringgetPassword()intgetServerGroupOperationTimeoutInSeconds()intgetServerOperationTimeoutInSeconds()StringgetUsername()voidsetAuthenticationConfig(String authenticationConfig)Set the URI path for the authentication configuration.voidsetContainerModeMap(String containerModeString)Change the container mode of the Servers or ServerGroups in the Domain.voidsetContainerNameMap(String containerNameMap)Change the container name as seen by Arquillian of the Servers or ServerGroups in the Domain.voidsetManagementAddress(String host)voidsetManagementPort(int managementPort)voidsetPassword(String password)voidsetServerGroupOperationTimeoutInSeconds(int serverGroupStartupTimeoutInSeconds)The number of seconds to wait before failing when starting/stopping a server group in the Domain.voidsetServerOperationTimeoutInSeconds(int serverStartupTimeoutInSeconds)The number of seconds to wait before failing when starting/stopping a single server in the Domain.voidsetUsername(String username)voidvalidate()
-
-
-
Method Detail
-
getManagementAddress
public InetAddress getManagementAddress()
-
setManagementAddress
public void setManagementAddress(String host)
-
getManagementPort
public int getManagementPort()
-
setManagementPort
public void setManagementPort(int managementPort)
-
getUsername
public String getUsername()
-
setPassword
public void setPassword(String password)
-
getPassword
public String getPassword()
-
setUsername
public void setUsername(String username)
-
setContainerNameMap
public void setContainerNameMap(String containerNameMap)
Change the container name as seen by Arquillian of the Servers or ServerGroups in the Domain. format: host:server-name=new-name,server-group-name=crm-servers- Parameters:
containerNameMap-
-
setContainerModeMap
public void setContainerModeMap(String containerModeString)
Change the container mode of the Servers or ServerGroups in the Domain. format: host:server-name=manual,host:.*=suite- Parameters:
containerModeString-
-
setServerGroupOperationTimeoutInSeconds
public void setServerGroupOperationTimeoutInSeconds(int serverGroupStartupTimeoutInSeconds)
The number of seconds to wait before failing when starting/stopping a server group in the Domain.- Parameters:
serverGroupStartupTimeoutInSeconds-
-
getServerGroupOperationTimeoutInSeconds
public int getServerGroupOperationTimeoutInSeconds()
-
setServerOperationTimeoutInSeconds
public void setServerOperationTimeoutInSeconds(int serverStartupTimeoutInSeconds)
The number of seconds to wait before failing when starting/stopping a single server in the Domain.- Parameters:
serverStartupTimeoutInSeconds-
-
getServerOperationTimeoutInSeconds
public int getServerOperationTimeoutInSeconds()
-
getAuthenticationConfig
public String getAuthenticationConfig()
The URI path for the authentication configuration.- Returns:
- the URI for the path or
nullif no path was set
-
setAuthenticationConfig
public void setAuthenticationConfig(String authenticationConfig)
Set the URI path for the authentication configuration.- Parameters:
authenticationConfig- the URI path
-
validate
public void validate() throws org.jboss.arquillian.container.spi.ConfigurationException- Specified by:
validatein interfaceorg.jboss.arquillian.container.spi.client.container.ContainerConfiguration- Throws:
org.jboss.arquillian.container.spi.ConfigurationException
-
-