Class BootableJarProcess
java.lang.Object
org.wildfly.qa.tooling.processexecution.ServerProcess
org.wildfly.qa.tooling.processexecution.BootableJarProcess
Abstraction over bootable JAR server process.
This class provides methods to start a bootable JAR server and execute operations
after the server has started.
-
Nested Class Summary
Nested classes/interfaces inherited from class ServerProcess
ServerProcess.ServerRunnable -
Constructor Summary
ConstructorsModifierConstructorDescriptionBootableJarProcess(Path bootableJarPath) Create a new instance of bootable JAR process with default timeout of 5 minutes.BootableJarProcess(Path bootableJarPath, long timeout, TimeUnit timeUnit) Create a new instance of bootable JAR process with custom timeout.protectedBootableJarProcess(Path bootableJarPath, long timeout, TimeUnit timeUnit, org.wildfly.extras.creaper.core.online.OnlineOptions onlineOptions) Create a new instance of bootable JAR process with custom timeout and online options. -
Method Summary
Methods inherited from class ServerProcess
runAfterDeploymentCompletedAndDestroyProcess, runAfterServerStartedAndDestroyProcess, runWhenClientConnectsAndDestroyProcess
-
Constructor Details
-
BootableJarProcess
Create a new instance of bootable JAR process with default timeout of 5 minutes.- Parameters:
bootableJarPath- path to the bootable JAR file
-
BootableJarProcess
Create a new instance of bootable JAR process with custom timeout.- Parameters:
bootableJarPath- path to the bootable JAR filetimeout- the maximum time to wait for server startuptimeUnit- the time unit of the timeout parameter
-
BootableJarProcess
protected BootableJarProcess(Path bootableJarPath, long timeout, TimeUnit timeUnit, org.wildfly.extras.creaper.core.online.OnlineOptions onlineOptions) Create a new instance of bootable JAR process with custom timeout and online options.- Parameters:
bootableJarPath- path to the bootable JAR filetimeout- the maximum time to wait for server startuptimeUnit- the time unit of the timeout parameteronlineOptions- options for management client connection
-