public class InMemoryRuleService extends Object implements RuleService
| Constructor and Description |
|---|
InMemoryRuleService(ClusterEventBus clusterBus) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String id) |
RuleDao |
load(String id) |
Collection<RuleDao> |
loadAll() |
RuleDao |
loadByName(String name) |
Collection<RuleDao> |
loadNamed(Collection<String> ruleNames) |
RuleDao |
save(RuleDao rule) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindByName@Inject public InMemoryRuleService(ClusterEventBus clusterBus)
public RuleDao save(RuleDao rule)
save in interface RuleServicepublic RuleDao load(String id) throws NotFoundException
load in interface RuleServiceNotFoundExceptionpublic RuleDao loadByName(String name) throws NotFoundException
loadByName in interface RuleServiceNotFoundExceptionpublic Collection<RuleDao> loadAll()
loadAll in interface RuleServicepublic void delete(String id)
delete in interface RuleServicepublic Collection<RuleDao> loadNamed(Collection<String> ruleNames)
loadNamed in interface RuleServiceCopyright © 2012–2021 Graylog, Inc.. All rights reserved.