public static class SshFeed.Builder
extends java.lang.Object
Constructor and Description |
---|
SshFeed.Builder() |
Modifier and Type | Method and Description |
---|---|
SshFeed |
build() |
SshFeed.Builder |
entity(EntityLocal val) |
SshFeed.Builder |
execAsCommand() |
SshFeed.Builder |
execAsScript() |
SshFeed.Builder |
machine(SshMachineLocation val)
optional, to force a machine; otherwise it is inferred from the entity
|
SshFeed.Builder |
machine(com.google.common.base.Supplier<SshMachineLocation> val)
optional, to force a machine; otherwise it is inferred from the entity
|
SshFeed.Builder |
onlyIfServiceUp() |
SshFeed.Builder |
onlyIfServiceUp(boolean onlyIfServiceUp) |
SshFeed.Builder |
period(Duration period) |
SshFeed.Builder |
period(long millis) |
SshFeed.Builder |
period(long val,
java.util.concurrent.TimeUnit units) |
SshFeed.Builder |
poll(SshPollConfig<?> config) |
SshFeed.Builder |
uniqueTag(java.lang.String uniqueTag) |
public SshFeed.Builder entity(EntityLocal val)
public SshFeed.Builder onlyIfServiceUp()
public SshFeed.Builder onlyIfServiceUp(boolean onlyIfServiceUp)
public SshFeed.Builder machine(SshMachineLocation val)
public SshFeed.Builder machine(com.google.common.base.Supplier<SshMachineLocation> val)
public SshFeed.Builder period(Duration period)
public SshFeed.Builder period(long millis)
public SshFeed.Builder period(long val, java.util.concurrent.TimeUnit units)
public SshFeed.Builder poll(SshPollConfig<?> config)
public SshFeed.Builder execAsCommand()
public SshFeed.Builder execAsScript()
public SshFeed.Builder uniqueTag(java.lang.String uniqueTag)
public SshFeed build()