Class ManagedDomainContainerConfiguration
- java.lang.Object
-
- org.jboss.as.arquillian.container.domain.CommonDomainContainerConfiguration
-
- org.jboss.as.arquillian.container.domain.managed.ManagedDomainContainerConfiguration
-
- All Implemented Interfaces:
org.jboss.arquillian.container.spi.client.container.ContainerConfiguration
public class ManagedDomainContainerConfiguration extends CommonDomainContainerConfiguration
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Constructor Summary
Constructors Constructor Description ManagedDomainContainerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAutoServerStartupTimeoutInSeconds()StringgetCleanServerBaseDir()StringgetDomainConfig()Get the server configuration file name.StringgetHostConfig()StringgetJavaHome()StringgetJavaVmArguments()StringgetJbossArguments()A space delimited list of arguments to be passed to the process controller.StringgetJbossHome()StringgetModulePath()intgetStartupTimeoutInSeconds()intgetStopTimeoutInSeconds()booleanisAllowConnectingToRunningServer()booleanisEnableAssertions()booleanisOutputToConsole()booleanisSetupCleanServerBaseDir()voidsetAllowConnectingToRunningServer(boolean allowConnectingToRunningServer)voidsetAutoServerStartupTimeoutInSeconds(int autoServerStartupTimeoutInSeconds)The number of seconds to wait before failing when starting servers in Auto start modevoidsetCleanServerBaseDir(String cleanServerBaseDir)voidsetDomainConfig(String domainConfig)Set the server configuration file name.voidsetEnableAssertions(boolean enableAssertions)voidsetHostConfig(String hostConfig)Set the host controller configuration file name.voidsetJavaHome(String javaHome)voidsetJavaVmArguments(String javaVmArguments)voidsetJbossArguments(String jbossArguments)A space delimited list of arguments to be passed to the process controller.voidsetJbossHome(String jbossHome)voidsetModulePath(String modulePath)voidsetOutputToConsole(boolean outputToConsole)voidsetSetupCleanServerBaseDir(boolean setupCleanServerBaseDir)voidsetStartupTimeoutInSeconds(int startupTimeoutInSeconds)The number of seconds to wait before failing when starting domain controller processvoidsetStopTimeoutInSeconds(int stopTimeoutInSeconds)voidvalidate()-
Methods inherited from class org.jboss.as.arquillian.container.domain.CommonDomainContainerConfiguration
getAuthenticationConfig, getContainerModeMap, getContainerNameMap, getManagementAddress, getManagementPort, getPassword, getProtocol, getServerGroupOperationTimeoutInSeconds, getServerOperationTimeoutInSeconds, getSocketBindingName, getUsername, setAuthenticationConfig, setContainerModeMap, setContainerNameMap, setManagementAddress, setManagementPort, setPassword, setProtocol, setServerGroupOperationTimeoutInSeconds, setServerOperationTimeoutInSeconds, setSocketBindingName, setUsername
-
-
-
-
Method Detail
-
validate
public void validate() throws org.jboss.arquillian.container.spi.ConfigurationException- Specified by:
validatein interfaceorg.jboss.arquillian.container.spi.client.container.ContainerConfiguration- Overrides:
validatein classCommonDomainContainerConfiguration- Throws:
org.jboss.arquillian.container.spi.ConfigurationException
-
getJbossHome
public String getJbossHome()
- Returns:
- the jbossHome
-
setJbossHome
public void setJbossHome(String jbossHome)
- Parameters:
jbossHome- the jbossHome to set
-
getJavaHome
public String getJavaHome()
- Returns:
- the javaHome
-
setJavaHome
public void setJavaHome(String javaHome)
- Parameters:
javaHome- the javaHome to set
-
getJavaVmArguments
public String getJavaVmArguments()
- Returns:
- the javaVmArguments
-
setJavaVmArguments
public void setJavaVmArguments(String javaVmArguments)
- Parameters:
javaVmArguments- the javaVmArguments to set
-
getJbossArguments
public String getJbossArguments()
A space delimited list of arguments to be passed to the process controller.- Returns:
- the arguments the arguments to be passed or
nullif no arguments were set
-
setJbossArguments
public void setJbossArguments(String jbossArguments)
A space delimited list of arguments to be passed to the process controller.- Parameters:
jbossArguments- the space delimited arguments to set ornullnot pass any
-
setStartupTimeoutInSeconds
public void setStartupTimeoutInSeconds(int startupTimeoutInSeconds)
The number of seconds to wait before failing when starting domain controller process- Parameters:
startupTimeoutInSeconds-
-
getStartupTimeoutInSeconds
public int getStartupTimeoutInSeconds()
- Returns:
- the startupTimeoutInSeconds
-
setStopTimeoutInSeconds
public void setStopTimeoutInSeconds(int stopTimeoutInSeconds)
- Parameters:
stopTimeoutInSeconds- number of seconds to wait for the container process to shutdown
-
getStopTimeoutInSeconds
public int getStopTimeoutInSeconds()
- Returns:
- stopTimeoutInSeconds number of seconds to wait for the container process to shutdown; defaults to 60
-
setAutoServerStartupTimeoutInSeconds
public void setAutoServerStartupTimeoutInSeconds(int autoServerStartupTimeoutInSeconds)
The number of seconds to wait before failing when starting servers in Auto start mode- Parameters:
autoServerStartupTimeoutInSeconds-
-
getAutoServerStartupTimeoutInSeconds
public int getAutoServerStartupTimeoutInSeconds()
- Returns:
- the autoServerStartupTimeoutInSeconds
-
setOutputToConsole
public void setOutputToConsole(boolean outputToConsole)
- Parameters:
outputToConsole- the outputToConsole to set
-
isOutputToConsole
public boolean isOutputToConsole()
- Returns:
- the outputToConsole
-
getDomainConfig
public String getDomainConfig()
Get the server configuration file name. Equivalent to [-server-config=...] on the command line.- Returns:
- the server config
-
setDomainConfig
public void setDomainConfig(String domainConfig)
Set the server configuration file name. Equivalent to [-Djboss.domain.default.config=...] on the command line.- Parameters:
domainConfig- the domain xml file name
-
getModulePath
public String getModulePath()
-
getHostConfig
public String getHostConfig()
-
setHostConfig
public void setHostConfig(String hostConfig)
Set the host controller configuration file name. Equivalent to [-Djboss.host.default.config=...] on the command line.- Parameters:
hostConfig- the host xml file name
-
setModulePath
public void setModulePath(String modulePath)
-
isAllowConnectingToRunningServer
public boolean isAllowConnectingToRunningServer()
-
setAllowConnectingToRunningServer
public void setAllowConnectingToRunningServer(boolean allowConnectingToRunningServer)
-
isEnableAssertions
public boolean isEnableAssertions()
-
setEnableAssertions
public void setEnableAssertions(boolean enableAssertions)
-
isSetupCleanServerBaseDir
public boolean isSetupCleanServerBaseDir()
-
setSetupCleanServerBaseDir
public void setSetupCleanServerBaseDir(boolean setupCleanServerBaseDir)
-
getCleanServerBaseDir
public String getCleanServerBaseDir()
-
setCleanServerBaseDir
public void setCleanServerBaseDir(String cleanServerBaseDir)
-
-