Class 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 Detail

      • CommonDomainContainerConfiguration

        public CommonDomainContainerConfiguration()
    • 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)
      • getContainerNameMap

        public Map<String,​String> getContainerNameMap()
        Returns:
        the containerNameMap
      • 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 -
      • getContainerModeMap

        public Map<String,​String> getContainerModeMap()
        Returns:
        the containerModeMap
      • 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 null if no path was set
      • setAuthenticationConfig

        public void setAuthenticationConfig​(String authenticationConfig)
        Set the URI path for the authentication configuration.
        Parameters:
        authenticationConfig - the URI path
      • getProtocol

        public String getProtocol()
        Returns the protocol to for HTTP connections. This currently only supports http and https with a default of http.
        Returns:
        the protocol
      • setProtocol

        public void setProtocol​(String protocol)
        Sets the protocol for HTTP connections. If null the default of http is used.
        Parameters:
        protocol - the protocol to use, this must be http or https
      • getSocketBindingName

        public String getSocketBindingName()
        Returns the socket binding name to use.
        Returns:
        the socket binding name or null to discover one
      • setSocketBindingName

        public void setSocketBindingName​(String socketBindingName)
        Sets the socket binding name to use for determining the host and port for HTTP connections. This can be used to override discovering the first binding name.

        The socket binding name is configured in WildFly. If this is not set, one will be determined from the Undertow subsystem.

        Parameters:
        socketBindingName - the socket binding name or null for one to be determined
      • validate

        public void validate()
                      throws org.jboss.arquillian.container.spi.ConfigurationException
        Specified by:
        validate in interface org.jboss.arquillian.container.spi.client.container.ContainerConfiguration
        Throws:
        org.jboss.arquillian.container.spi.ConfigurationException