public interface StreamRuleService extends PersistedService
Modifier and Type | Method and Description |
---|---|
StreamRule |
create(Map<String,Object> data) |
StreamRule |
create(String streamid,
CreateStreamRuleRequest request) |
StreamRule |
load(String id) |
List<StreamRule> |
loadForStream(Stream stream) |
List<StreamRule> |
loadForStreamId(String streamId) |
long |
streamRuleCount(String streamId) |
Map<String,Long> |
streamRuleCountByStream() |
long |
totalStreamRuleCount() |
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validate
StreamRule load(String id) throws NotFoundException
NotFoundException
List<StreamRule> loadForStream(Stream stream) throws NotFoundException
NotFoundException
StreamRule create(Map<String,Object> data)
StreamRule create(String streamid, CreateStreamRuleRequest request)
List<StreamRule> loadForStreamId(String streamId) throws NotFoundException
NotFoundException
long totalStreamRuleCount()
long streamRuleCount(String streamId)
streamId
- the stream IDCopyright © 2012-2015 Graylog, Inc.. All Rights Reserved.