public class SubCreator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SubCreator.ServerType |
Constructor and Description |
---|
SubCreator(SubServers host)
Creates a SubCreator Instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
create(java.lang.String name,
SubCreator.ServerType type,
Version version,
int memory,
int port,
java.util.UUID address,
java.lang.String id) |
SubLogger |
getLogger() |
boolean |
isBusy() |
void |
terminate() |
void |
waitFor() |
public SubCreator(SubServers host)
host
- SubServers.Hostpublic boolean create(java.lang.String name, SubCreator.ServerType type, Version version, int memory, int port, java.util.UUID address, java.lang.String id)
public void terminate()
public void waitFor() throws java.lang.InterruptedException
java.lang.InterruptedException
public SubLogger getLogger()
public boolean isBusy()