Brooklyn

brooklyn.event.adapter
[Groovy] Class SshPollHelper

java.lang.Object
  brooklyn.event.adapter.AbstractPollHelper
      brooklyn.event.adapter.SshPollHelper

@Deprecated
protected class SshPollHelper
extends AbstractPollHelper

Captures output and exit code for SshSensorAdapter.

deprecated:
See brooklyn.event.feed.ssh.SshFeed
See Also:
SshSensorAdapter


Field Summary
static Logger log

 
Fields inherited from class AbstractPollHelper
log
 
Constructor Summary
SshPollHelper(SshSensorAdapter adapter)

 
Method Summary
AbstractSensorEvaluationContext executePollOnError(java.lang.Exception error)

AbstractSensorEvaluationContext executePollOnSuccess()

SshSensorAdapter getAdapter()

protected java.lang.String getOptionalContextForErrors(AbstractSensorEvaluationContext response)

 
Methods inherited from class AbstractPollHelper
activatePoll, addListener, addSensor, deactivatePoll, evaluateSensorOnResponse, evaluateSensorsOnResponse, executePoll, executePollOnError, executePollOnSuccess, getEntity, getOptionalContextForErrors, init, isEmpty, toString
 

Field Detail

log

public static final Logger log


 
Constructor Detail

SshPollHelper

SshPollHelper(SshSensorAdapter adapter)


 
Method Detail

executePollOnError

@Override
AbstractSensorEvaluationContext executePollOnError(java.lang.Exception error)


executePollOnSuccess

@Override
AbstractSensorEvaluationContext executePollOnSuccess()


getAdapter

SshSensorAdapter getAdapter()


getOptionalContextForErrors

@Override
protected java.lang.String getOptionalContextForErrors(AbstractSensorEvaluationContext response)


 

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