Brooklyn

brooklyn.event.adapter
[Groovy] Class SshPollHelper

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

protected class SshPollHelper
extends AbstractPollHelper

Captures output and exit code for SshSensorAdapter.

See Also:
SshSensorAdapter


Field Summary
static Logger log

 
Fields inherited from class AbstractPollHelper
log
 
Property Summary
SshSensorAdapter adapter

 
Constructor Summary
SshPollHelper(SshSensorAdapter adapter)

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

AbstractSensorEvaluationContext executePollOnSuccess()

protected java.lang.String getOptionalContextForErrors(AbstractSensorEvaluationContext response)

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

Field Detail

log

public static final Logger log


 
Property Detail

adapter

final SshSensorAdapter adapter


 
Constructor Detail

SshPollHelper

SshPollHelper(SshSensorAdapter adapter)


 
Method Detail

executePollOnError

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


executePollOnSuccess

@Override
AbstractSensorEvaluationContext executePollOnSuccess()


getOptionalContextForErrors

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


 

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