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
FieldsModifier and TypeFieldDescriptionstatic final StringThe host name specified by thewildfly.management.hostnamesystem property orlocalhostby default.static final intThe port specified by thewildfly.http.portsystem property or8880by default.static final intThe port specified by thewildfly.management.portsystem property or9990by default.static final longThe default server startup timeout specified bywildfly.timeout, default is 60 seconds.static final PathThe default WildFly home directory specified by thewildfly.distsystem property. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleanisValidWildFlyHome(Path wildflyHome) static voidvalidateWildFlyHome(Path wildflyHome) Methods inherited from class org.wildfly.plugin.common.Environment
getJavaCommand, getModularJvmArguments, isModularJvm, isWindows
-
Field Details
-
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
The host name specified by thewildfly.management.hostnamesystem property orlocalhostby default. -
PORT
public static final int PORTThe port specified by thewildfly.management.portsystem property or9990by default. -
HTTP_PORT
public static final int HTTP_PORTThe port specified by thewildfly.http.portsystem property or8880by default. -
TIMEOUT
public static final long TIMEOUTThe default server startup timeout specified bywildfly.timeout, default is 60 seconds.
-
-
Constructor Details
-
TestEnvironment
public TestEnvironment()
-
-
Method Details
-
isModularJvm
public static boolean isModularJvm() -
isValidWildFlyHome
-
validateWildFlyHome
-