public class RulesResource extends Object
Constructor and Description |
---|
RulesResource(MetadataRuleManager databaseRuleManager,
AuditManager auditManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getDatasourceRuleHistory(String dataSourceName,
String interval) |
javax.ws.rs.core.Response |
getDatasourceRules(String dataSourceName,
String full) |
javax.ws.rs.core.Response |
getRules() |
javax.ws.rs.core.Response |
setDatasourceRules(String dataSourceName,
List<Rule> rules,
String author,
String comment,
javax.servlet.http.HttpServletRequest req) |
@Inject public RulesResource(MetadataRuleManager databaseRuleManager, AuditManager auditManager)
public javax.ws.rs.core.Response getRules()
public javax.ws.rs.core.Response getDatasourceRules(String dataSourceName, String full)
public javax.ws.rs.core.Response setDatasourceRules(String dataSourceName, List<Rule> rules, @HeaderParam(value="X-Druid-Author") String author, @HeaderParam(value="X-Druid-Comment") String comment, @Context javax.servlet.http.HttpServletRequest req)
Copyright © 2011–2015. All rights reserved.