| 
 | Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbrooklyn.event.feed.FeedConfig
brooklyn.event.feed.PollConfig
brooklyn.event.feed.shell.ShellPollConfig
public class ShellPollConfig extends PollConfig
| Field Summary | |
|---|---|
| static Predicate | DEFAULT_SUCCESS | 
| Fields inherited from class FeedConfig | |
|---|---|
| UNSET | 
| Constructor Summary | |
| ShellPollConfig(AttributeSensor sensor) | |
| ShellPollConfig(ShellPollConfig other) | |
| Method Summary | |
|---|---|
| ShellPollConfig | command(java.lang.String val) | 
| ShellPollConfig | dir(java.io.File val) | 
| ShellPollConfig | env(java.lang.String key, java.lang.String val) | 
| ShellPollConfig | env(java.util.Map val) | 
| ShellPollConfig | failOnNonZeroResultCode(boolean val)Overrides any Function given to checkSuccess. | 
| ShellPollConfig | failOnNonZeroResultCode()Overrides any Function given to checkSuccess to treat any non-zero response code as a failure. | 
| java.lang.String | getCommand() | 
| java.io.File | getDir() | 
| java.util.Map | getEnv() | 
| java.lang.String | getInput() | 
| long | getTimeout() | 
| ShellPollConfig | input(java.lang.String val) | 
| boolean | isFailOnNonZeroResultCode()@deprecated since 0.6; default is true, see checkSuccess | 
| ShellPollConfig | timeout(long timeout) | 
| ShellPollConfig | timeout(long timeout, java.util.concurrent.TimeUnit units) | 
| Methods inherited from class PollConfig | |
|---|---|
| getPeriod, period, period, period | 
| Field Detail | 
|---|
public static final Predicate DEFAULT_SUCCESS
| Constructor Detail | 
|---|
public ShellPollConfig(AttributeSensor sensor)
public ShellPollConfig(ShellPollConfig other)
| Method Detail | 
|---|
public ShellPollConfig command(java.lang.String val)
public ShellPollConfig dir(java.io.File val)
public ShellPollConfig env(java.lang.String key, java.lang.String val)
public ShellPollConfig env(java.util.Map val)
@Deprecated public ShellPollConfig failOnNonZeroResultCode(boolean val)
@Deprecated public ShellPollConfig failOnNonZeroResultCode()
public java.lang.String getCommand()
public java.io.File getDir()
public java.util.Map getEnv()
public java.lang.String getInput()
public long getTimeout()
public ShellPollConfig input(java.lang.String val)
@Deprecated public boolean isFailOnNonZeroResultCode()
public ShellPollConfig timeout(long timeout)
public ShellPollConfig timeout(long timeout, java.util.concurrent.TimeUnit units)
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.