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_DEFAULT_STREAM |
static String |
FIELD_DESCRIPTION |
static String |
FIELD_DISABLED |
static String |
FIELD_INDEX_SET_ID |
static String |
FIELD_MATCHING_TYPE |
static String |
FIELD_OUTPUTS |
static String |
FIELD_REMOVE_MATCHES_FROM_DEFAULT_STREAM |
static String |
FIELD_RULES |
static String |
FIELD_TITLE |
fields, idDEFAULT_EVENT_STREAM_IDS, DEFAULT_EVENTS_STREAM_ID, DEFAULT_STREAM_ID, DEFAULT_SYSTEM_EVENTS_STREAM_ID| Modifier | Constructor and Description |
|---|---|
|
StreamImpl(Map<String,Object> fields) |
|
StreamImpl(Map<String,Object> fields,
IndexSet indexSet) |
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,
IndexSet indexSet) |
equals, getFields, getId, getObjectId, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitisDefaultStreamIdpublic 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 FIELD_DEFAULT_STREAM
public static final String FIELD_REMOVE_MATCHES_FROM_DEFAULT_STREAM
public static final String FIELD_INDEX_SET_ID
public static final String EMBEDDED_ALERT_CONDITIONS
public String toString()
toString 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 Streampublic boolean isDefaultStream()
isDefaultStream in interface Streampublic void setDefaultStream(boolean defaultStream)
setDefaultStream in interface Streampublic boolean getRemoveMatchesFromDefaultStream()
getRemoveMatchesFromDefaultStream in interface Streampublic void setRemoveMatchesFromDefaultStream(boolean removeMatchesFromDefaultStream)
setRemoveMatchesFromDefaultStream in interface Streampublic IndexSet getIndexSet()
getIndexSet in interface Streampublic String getIndexSetId()
getIndexSetId in interface Streampublic void setIndexSetId(String indexSetId)
setIndexSetId in interface StreamCopyright © 2012–2021 Graylog, Inc.. All rights reserved.