Package org.wildfly.plugin.tests
Class TestEnvironment
- java.lang.Object
-
- org.wildfly.plugin.common.Environment
-
- org.wildfly.plugin.tests.TestEnvironment
-
public class TestEnvironment extends org.wildfly.plugin.common.Environment- Author:
- James R. Perkins
-
-
Field Summary
Fields Modifier and Type Field Description static StringHOSTNAMEThe host name specified by thewildfly.management.hostnamesystem property orlocalhostby default.static intHTTP_PORTThe port specified by thewildfly.http.portsystem property or8880by default.static intPORTThe port specified by thewildfly.management.portsystem property or9990by default.static longTIMEOUTThe default server startup timeout specified bywildfly.timeout, default is 60 seconds.static PathWILDFLY_HOMEThe default WildFly home directory specified by thewildfly.distsystem property.
-
Constructor Summary
Constructors Constructor Description TestEnvironment()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisModularJvm()static booleanisValidWildFlyHome(Path wildflyHome)static voidvalidateWildFlyHome(Path wildflyHome)
-
-
-
Field Detail
-
WILDFLY_HOME
public static final Path WILDFLY_HOME
The default WildFly home directory specified by thewildfly.distsystem property. Note that thewildfly.distwill 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 thewildfly.management.hostnamesystem property orlocalhostby default.
-
PORT
public static final int PORT
The port specified by thewildfly.management.portsystem property or9990by default.
-
HTTP_PORT
public static final int HTTP_PORT
The port specified by thewildfly.http.portsystem property or8880by default.
-
TIMEOUT
public static final long TIMEOUT
The default server startup timeout specified bywildfly.timeout, default is 60 seconds.
-
-