public abstract static class AbstractCommandFeed.Builder<T extends AbstractCommandFeed,B extends AbstractCommandFeed.Builder<T,B>>
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
T |
build() |
B |
entity(Entity val) |
B |
execAsCommand() |
B |
execAsScript() |
abstract java.util.List<CommandPollConfig<?>> |
getPolls() |
B |
machine(<any> val)
optional, to force a machine; otherwise it is inferred from the entity
|
B |
machine(MachineLocation val)
optional, to force a machine; otherwise it is inferred from the entity
|
B |
onlyIfServiceUp() |
B |
onlyIfServiceUp(boolean onlyIfServiceUp) |
B |
period(Duration period) |
B |
period(long millis) |
B |
period(long val,
java.util.concurrent.TimeUnit units) |
abstract B |
poll(CommandPollConfig<?> config) |
B |
uniqueTag(java.lang.String uniqueTag) |
public B onlyIfServiceUp()
public B onlyIfServiceUp(boolean onlyIfServiceUp)
public B machine(MachineLocation val)
public B machine(<any> val)
public B period(long millis)
public B period(long val, java.util.concurrent.TimeUnit units)
public abstract B poll(CommandPollConfig<?> config)
public abstract java.util.List<CommandPollConfig<?>> getPolls()
public B execAsCommand()
public B execAsScript()
public B uniqueTag(java.lang.String uniqueTag)
public T build()