public class StartServerHelper extends Object
| Constructor and Description |
|---|
StartServerHelper(Logger logger0,
boolean terse0,
ServerDirs serverDirs0,
GFLauncher launcher0,
String masterPassword0) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
prepareForLaunch()
Run a series of commands to prepare for a launch.
|
void |
report() |
void |
waitForServer() |
void |
waitForServer(long timeout,
TimeUnit unit) |
public StartServerHelper(Logger logger0, boolean terse0, ServerDirs serverDirs0, GFLauncher launcher0, String masterPassword0)
public void waitForServer()
throws CommandException
CommandExceptionpublic void waitForServer(long timeout,
TimeUnit unit)
throws CommandException
CommandExceptionpublic boolean prepareForLaunch()
throws CommandException
CommandException - If there was a timeout waiting for the parent to die
or admin port to free uppublic void report()
Copyright © 2021. All rights reserved.