Brooklyn

brooklyn.event.feed
[Java] Class FeedConfig

java.lang.Object
  brooklyn.event.feed.FeedConfig

public class FeedConfig

Configuration for a poll, or a subscription etc, that is being added to a feed.

Authors:
aled


Field Summary
static java.lang.Object UNSET

The onSuccess or onError functions can return this value to indicate that the sensor should not change.

 
Constructor Summary
FeedConfig(AttributeSensor sensor)

FeedConfig(FeedConfig other)

 
Method Summary
Function getOnError()

Function getOnSuccess()

AttributeSensor getSensor()

This onError(Function val)

This onSuccess(Function val)

protected This self()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

UNSET

public static final java.lang.Object UNSET
The onSuccess or onError functions can return this value to indicate that the sensor should not change.


 
Constructor Detail

FeedConfig

public FeedConfig(AttributeSensor sensor)


FeedConfig

public FeedConfig(FeedConfig other)


 
Method Detail

getOnError

public Function getOnError()


getOnSuccess

public Function getOnSuccess()


getSensor

public AttributeSensor getSensor()


onError

public This onError(Function val)


onSuccess

public This onSuccess(Function val)


self

@SuppressWarnings("unchecked")
protected This self()


 

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