public class GameTestBatch extends Object
Modifier and Type | Field and Description |
---|---|
private String |
id |
private Collection<TestFunction> |
testFunctions |
private Consumer<ServerWorld> |
worldSetter |
Constructor and Description |
---|
GameTestBatch(String id,
Collection<TestFunction> testFunctions,
Consumer<ServerWorld> worldSetter) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
Collection<TestFunction> |
getTestFunctions() |
void |
setWorld(ServerWorld world) |
private final String id
private final Collection<TestFunction> testFunctions
@Nullable private final Consumer<ServerWorld> worldSetter
public GameTestBatch(String id, Collection<TestFunction> testFunctions, @Nullable Consumer<ServerWorld> worldSetter)
public String getId()
public Collection<TestFunction> getTestFunctions()
public void setWorld(ServerWorld world)