Package org.graylog2.streams
Class StreamRuleImpl
java.lang.Object
org.graylog2.database.PersistedImpl
org.graylog2.streams.StreamRuleImpl
- All Implemented Interfaces:
Persisted,StreamRule
Representing the rules of a single stream.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.graylog2.database.PersistedImpl
fields, id -
Constructor Summary
ConstructorsModifierConstructorDescriptionStreamRuleImpl(Map<String, Object> fields) protectedStreamRuleImpl(org.bson.types.ObjectId id, Map<String, Object> fields) -
Method Summary
Modifier and TypeMethodDescriptionasMap()getField()getType()getValue()voidsetContentPack(String contentPack) voidsetDescription(String description) voidvoidsetInverted(Boolean inverted) voidsetType(StreamRuleType type) voidtoString()Methods inherited from class org.graylog2.database.PersistedImpl
equals, getFields, getId, getObjectId, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.graylog2.plugin.streams.StreamRule
getId
-
Field Details
-
FIELD_TYPE
- See Also:
-
FIELD_VALUE
- See Also:
-
FIELD_FIELD
- See Also:
-
FIELD_INVERTED
- See Also:
-
FIELD_STREAM_ID
- See Also:
-
FIELD_CONTENT_PACK
- See Also:
-
FIELD_DESCRIPTION
- See Also:
-
-
Constructor Details
-
StreamRuleImpl
-
StreamRuleImpl
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceStreamRule
-
setType
- Specified by:
setTypein interfaceStreamRule
-
getValue
- Specified by:
getValuein interfaceStreamRule
-
setValue
- Specified by:
setValuein interfaceStreamRule
-
getField
- Specified by:
getFieldin interfaceStreamRule
-
setField
- Specified by:
setFieldin interfaceStreamRule
-
getInverted
- Specified by:
getInvertedin interfaceStreamRule
-
setInverted
- Specified by:
setInvertedin interfaceStreamRule
-
getStreamId
- Specified by:
getStreamIdin interfaceStreamRule
-
getContentPack
- Specified by:
getContentPackin interfaceStreamRule
-
setContentPack
- Specified by:
setContentPackin interfaceStreamRule
-
getDescription
- Specified by:
getDescriptionin interfaceStreamRule
-
setDescription
- Specified by:
setDescriptionin interfaceStreamRule
-
getValidations
- Specified by:
getValidationsin interfacePersisted
-
getEmbeddedValidations
- Specified by:
getEmbeddedValidationsin interfacePersisted
-
asMap
- Specified by:
asMapin interfacePersisted- Specified by:
asMapin interfaceStreamRule- Overrides:
asMapin classPersistedImpl
-
toString
- Overrides:
toStringin classPersistedImpl
-