Class TestEnvironment


  • public class TestEnvironment
    extends org.wildfly.plugin.common.Environment
    Author:
    James R. Perkins
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String HOSTNAME
      The host name specified by the wildfly.management.hostname system property or localhost by default.
      static int HTTP_PORT
      The port specified by the wildfly.http.port system property or 8880 by default.
      static int PORT
      The port specified by the wildfly.management.port system property or 9990 by default.
      static long TIMEOUT
      The default server startup timeout specified by wildfly.timeout, default is 60 seconds.
      static Path WILDFLY_HOME
      The default WildFly home directory specified by the wildfly.dist system property.
    • Constructor Summary

      Constructors 
      Constructor Description
      TestEnvironment()  
    • Field Detail

      • WILDFLY_HOME

        public static final Path WILDFLY_HOME
        The default WildFly home directory specified by the wildfly.dist system property.

        Note that the wildfly.dist will not match the path specified here. The WildFly distribution is copied to a temporary directory to keep the environment clean. }

      • HOSTNAME

        public static final String HOSTNAME
        The host name specified by the wildfly.management.hostname system property or localhost by default.
      • PORT

        public static final int PORT
        The port specified by the wildfly.management.port system property or 9990 by default.
      • HTTP_PORT

        public static final int HTTP_PORT
        The port specified by the wildfly.http.port system property or 8880 by default.
      • TIMEOUT

        public static final long TIMEOUT
        The default server startup timeout specified by wildfly.timeout, default is 60 seconds.
    • Constructor Detail

      • TestEnvironment

        public TestEnvironment()
    • Method Detail

      • isModularJvm

        public static boolean isModularJvm()
      • isValidWildFlyHome

        public static boolean isValidWildFlyHome​(Path wildflyHome)
      • validateWildFlyHome

        public static void validateWildFlyHome​(Path wildflyHome)