public class StreamImpl extends PersistedImpl implements Stream
| Modifier and Type | Field and Description |
|---|---|
static String |
EMBEDDED_ALERT_CONDITIONS |
fields, id| Modifier | Constructor and Description |
|---|---|
|
StreamImpl(Map<String,Object> fields) |
protected |
StreamImpl(org.bson.types.ObjectId id,
Map<String,Object> fields) |
|
StreamImpl(org.bson.types.ObjectId id,
Map<String,Object> fields,
List<StreamRule> streamRules,
Set<Output> outputs) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
asMap() |
Map<String,Object> |
asMap(List<StreamRule> streamRules) |
Map<String,List<String>> |
getAlertReceivers() |
String |
getDescription() |
Boolean |
getDisabled() |
Map<String,Validator> |
getEmbeddedValidations(String key) |
Set<Output> |
getOutputs() |
List<StreamRule> |
getStreamRules() |
String |
getTitle() |
Map<String,Validator> |
getValidations() |
Boolean |
isPaused() |
void |
setDescription(String description) |
void |
setDisabled(Boolean disabled) |
void |
setTitle(String title) |
String |
toString() |
equals, getFields, getId, getObjectId, hashCodepublic static final String EMBEDDED_ALERT_CONDITIONS
public String toString()
toString in interface StreamtoString in class PersistedImplpublic List<StreamRule> getStreamRules()
getStreamRules in interface Streampublic Set<Output> getOutputs()
getOutputs in interface Streampublic String getDescription()
getDescription in interface Streampublic void setDescription(String description)
setDescription in interface Streampublic Boolean getDisabled()
getDisabled in interface Streampublic void setDisabled(Boolean disabled)
setDisabled in interface Streampublic Map<String,Object> asMap(List<StreamRule> streamRules)
public Map<String,Object> asMap()
asMap in interface PersistedasMap in class PersistedImplpublic Map<String,Validator> getValidations()
getValidations in interface Persistedpublic Map<String,Validator> getEmbeddedValidations(String key)
getEmbeddedValidations in interface PersistedCopyright © 2012–2014 TORCH GmbH. All rights reserved.