public class StreamImpl extends PersistedImpl implements Stream
Stream.MatchingType| Modifier and Type | Field and Description |
|---|---|
static String |
EMBEDDED_ALERT_CONDITIONS |
static String |
FIELD_ALERT_RECEIVERS |
static String |
FIELD_CONTENT_PACK |
static String |
FIELD_CREATED_AT |
static String |
FIELD_CREATOR_USER_ID |
static String |
FIELD_DESCRIPTION |
static String |
FIELD_DISABLED |
static String |
FIELD_MATCHING_TYPE |
static String |
FIELD_OUTPUTS |
static String |
FIELD_RULES |
static String |
FIELD_TITLE |
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 |
getContentPack() |
String |
getDescription() |
Boolean |
getDisabled() |
Map<String,Validator> |
getEmbeddedValidations(String key) |
Stream.MatchingType |
getMatchingType() |
Set<Output> |
getOutputs() |
List<StreamRule> |
getStreamRules() |
String |
getTitle() |
Map<String,Validator> |
getValidations() |
Boolean |
isPaused() |
void |
setContentPack(String contentPack) |
void |
setDescription(String description) |
void |
setDisabled(Boolean disabled) |
void |
setMatchingType(Stream.MatchingType matchingType) |
void |
setTitle(String title) |
String |
toString() |
equals, getFields, getId, getObjectId, hashCodepublic static final String FIELD_TITLE
public static final String FIELD_DESCRIPTION
public static final String FIELD_RULES
public static final String FIELD_OUTPUTS
public static final String FIELD_CONTENT_PACK
public static final String FIELD_ALERT_RECEIVERS
public static final String FIELD_DISABLED
public static final String FIELD_CREATED_AT
public static final String FIELD_CREATOR_USER_ID
public static final String FIELD_MATCHING_TYPE
public 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 String getContentPack()
getContentPack in interface Streampublic void setContentPack(String contentPack)
setContentPack 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 Persistedpublic Map<String,List<String>> getAlertReceivers()
getAlertReceivers in interface Streampublic Stream.MatchingType getMatchingType()
getMatchingType in interface Streampublic void setMatchingType(Stream.MatchingType matchingType)
setMatchingType in interface StreamCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.