public final class Subscription extends Object
Constructor and Description |
---|
Subscription()
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
DataExpr |
dataExpr()
Return the data expression for this subscription.
|
boolean |
equals(Object o) |
String |
getExpression()
Expression for the subscription.
|
long |
getFrequency()
Requested frequency to send data for the subscription.
|
String |
getId()
Id for a subscription.
|
int |
hashCode() |
void |
setExpression(String expression)
Set the expression for the subscription.
|
void |
setFrequency(long frequency)
Set the requested frequency to send data for the subscription.
|
void |
setId(String id)
Set the subscription id.
|
String |
toString() |
Subscription |
withExpression(String expression)
Set the expression for the subscription.
|
Subscription |
withFrequency(long frequency)
Set the requested frequency to send data for the subscription.
|
Subscription |
withId(String id)
Set the subscription id.
|
public DataExpr dataExpr()
public String getId()
public void setId(String id)
public Subscription withId(String id)
public String getExpression()
public void setExpression(String expression)
public Subscription withExpression(String expression)
public long getFrequency()
public void setFrequency(long frequency)
public Subscription withFrequency(long frequency)