Class BootableJarProcess

java.lang.Object
org.wildfly.qa.tooling.processexecution.ServerProcess
org.wildfly.qa.tooling.processexecution.BootableJarProcess

public class BootableJarProcess extends ServerProcess
Abstraction over bootable JAR server process. This class provides methods to start a bootable JAR server and execute operations after the server has started.
  • Constructor Details

    • BootableJarProcess

      public BootableJarProcess(Path bootableJarPath)
      Create a new instance of bootable JAR process with default timeout of 5 minutes.
      Parameters:
      bootableJarPath - path to the bootable JAR file
    • BootableJarProcess

      public BootableJarProcess(Path bootableJarPath, long timeout, TimeUnit timeUnit)
      Create a new instance of bootable JAR process with custom timeout.
      Parameters:
      bootableJarPath - path to the bootable JAR file
      timeout - the maximum time to wait for server startup
      timeUnit - 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 file
      timeout - the maximum time to wait for server startup
      timeUnit - the time unit of the timeout parameter
      onlineOptions - options for management client connection