Brooklyn

brooklyn.event.feed.shell
[Java] Class ShellPollConfig

java.lang.Object
  brooklyn.event.feed.FeedConfig
      brooklyn.event.feed.PollConfig
          brooklyn.event.feed.shell.ShellPollConfig

public class ShellPollConfig
extends PollConfig

Field Summary
 
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)

ShellPollConfig failOnNonZeroResultCode()

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()

ShellPollConfig timeout(long timeout)

ShellPollConfig timeout(long timeout, java.util.concurrent.TimeUnit units)

 
Methods inherited from class PollConfig
getPeriod, period, period
 
Methods inherited from class FeedConfig
getOnError, getOnSuccess, getSensor, onError, onSuccess, self
 

Constructor Detail

ShellPollConfig

public ShellPollConfig(AttributeSensor sensor)


ShellPollConfig

public ShellPollConfig(ShellPollConfig other)


 
Method Detail

command

public ShellPollConfig command(java.lang.String val)


dir

public ShellPollConfig dir(java.io.File val)


env

public ShellPollConfig env(java.lang.String key, java.lang.String val)


env

public ShellPollConfig env(java.util.Map val)


failOnNonZeroResultCode

public ShellPollConfig failOnNonZeroResultCode(boolean val)


failOnNonZeroResultCode

public ShellPollConfig failOnNonZeroResultCode()


getCommand

public java.lang.String getCommand()


getDir

public java.io.File getDir()


getEnv

public java.util.Map getEnv()


getInput

public java.lang.String getInput()


getTimeout

public long getTimeout()


input

public ShellPollConfig input(java.lang.String val)


isFailOnNonZeroResultCode

public boolean isFailOnNonZeroResultCode()


timeout

public ShellPollConfig timeout(long timeout)


timeout

public ShellPollConfig timeout(long timeout, java.util.concurrent.TimeUnit units)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.