Class TestEnvironment


  • public class TestEnvironment
    extends org.wildfly.plugin.common.Environment
    Author:
    James R. Perkins
    • 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.
      • 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)