Class ManagedDomainContainerConfiguration

  • All Implemented Interfaces:
    org.jboss.arquillian.container.spi.client.container.ContainerConfiguration

    public class ManagedDomainContainerConfiguration
    extends CommonDomainContainerConfiguration
    Version:
    $Revision: $
    Author:
    Aslak Knutsen
    • Constructor Detail

      • ManagedDomainContainerConfiguration

        public ManagedDomainContainerConfiguration()
    • Method Detail

      • validate

        public void validate()
                      throws org.jboss.arquillian.container.spi.ConfigurationException
        Specified by:
        validate in interface org.jboss.arquillian.container.spi.client.container.ContainerConfiguration
        Overrides:
        validate in class CommonDomainContainerConfiguration
        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 null if 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 or null not 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)