public class InMemoryRuleService extends Object implements RuleService
| Constructor and Description |
|---|
InMemoryRuleService() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String id) |
RuleDao |
load(String id) |
Collection<RuleDao> |
loadAll() |
Collection<RuleDao> |
loadNamed(Collection<String> ruleNames) |
RuleDao |
save(RuleDao rule) |
public RuleDao save(RuleDao rule)
save in interface RuleServicepublic RuleDao load(String id) throws NotFoundException
load 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–2018 Graylog, Inc.. All rights reserved.