public class StreamRuleImpl extends PersistedImpl implements StreamRule
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_CONTENT_PACK |
static String |
FIELD_DESCRIPTION |
static String |
FIELD_FIELD |
static String |
FIELD_INVERTED |
static String |
FIELD_STREAM_ID |
static String |
FIELD_TYPE |
static String |
FIELD_VALUE |
fields, id| Modifier | Constructor and Description |
|---|---|
|
StreamRuleImpl(Map<String,Object> fields) |
protected |
StreamRuleImpl(org.bson.types.ObjectId id,
Map<String,Object> fields) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
asMap() |
String |
getContentPack() |
String |
getDescription() |
Map<String,Validator> |
getEmbeddedValidations(String key) |
String |
getField() |
Boolean |
getInverted() |
String |
getStreamId() |
StreamRuleType |
getType() |
Map<String,Validator> |
getValidations() |
String |
getValue() |
void |
setContentPack(String contentPack) |
void |
setDescription(String description) |
void |
setField(String field) |
void |
setInverted(Boolean inverted) |
void |
setType(StreamRuleType type) |
void |
setValue(String value) |
String |
toString() |
equals, getFields, getId, getObjectId, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdpublic static final String FIELD_TYPE
public static final String FIELD_VALUE
public static final String FIELD_FIELD
public static final String FIELD_INVERTED
public static final String FIELD_STREAM_ID
public static final String FIELD_CONTENT_PACK
public static final String FIELD_DESCRIPTION
public StreamRuleType getType()
getType in interface StreamRulepublic void setType(StreamRuleType type)
setType in interface StreamRulepublic String getValue()
getValue in interface StreamRulepublic void setValue(String value)
setValue in interface StreamRulepublic String getField()
getField in interface StreamRulepublic void setField(String field)
setField in interface StreamRulepublic Boolean getInverted()
getInverted in interface StreamRulepublic void setInverted(Boolean inverted)
setInverted in interface StreamRulepublic String getStreamId()
getStreamId in interface StreamRulepublic String getContentPack()
getContentPack in interface StreamRulepublic void setContentPack(String contentPack)
setContentPack in interface StreamRulepublic String getDescription()
getDescription in interface StreamRulepublic void setDescription(String description)
setDescription in interface StreamRulepublic Map<String,Validator> getValidations()
getValidations in interface Persistedpublic Map<String,Validator> getEmbeddedValidations(String key)
getEmbeddedValidations in interface Persistedpublic Map<String,Object> asMap()
asMap in interface PersistedasMap in interface StreamRuleasMap in class PersistedImplpublic String toString()
toString in class PersistedImplCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.