@Deprecated public class PolicyResource extends AbstractBrooklynRestResource implements PolicyApi
AbstractBrooklynRestResource.RestValueResolver
Constructor and Description |
---|
PolicyResource()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PolicySummary |
addPolicy(java.lang.String application,
java.lang.String entityToken,
java.lang.String policyTypeName,
java.util.Map<java.lang.String,java.lang.String> config)
Deprecated.
|
java.util.Map<java.lang.String,java.lang.Boolean> |
batchConfigRead(java.lang.String application,
java.lang.String entityToken)
Deprecated.
|
javax.ws.rs.core.Response |
destroy(java.lang.String application,
java.lang.String entityToken,
java.lang.String policyToken)
Deprecated.
|
Status |
getStatus(java.lang.String application,
java.lang.String entityToken,
java.lang.String policyId)
Deprecated.
|
java.util.List<PolicySummary> |
list(java.lang.String application,
java.lang.String entityToken)
Deprecated.
|
javax.ws.rs.core.Response |
start(java.lang.String application,
java.lang.String entityToken,
java.lang.String policyId)
Deprecated.
|
javax.ws.rs.core.Response |
stop(java.lang.String application,
java.lang.String entityToken,
java.lang.String policyId)
Deprecated.
|
brooklyn, mgmt, mgmtInternal, setManagementContext
public java.util.List<PolicySummary> list(java.lang.String application, java.lang.String entityToken)
public java.util.Map<java.lang.String,java.lang.Boolean> batchConfigRead(java.lang.String application, java.lang.String entityToken)
batchConfigRead
in interface PolicyApi
public PolicySummary addPolicy(java.lang.String application, java.lang.String entityToken, java.lang.String policyTypeName, java.util.Map<java.lang.String,java.lang.String> config)
public Status getStatus(java.lang.String application, java.lang.String entityToken, java.lang.String policyId)
public javax.ws.rs.core.Response start(java.lang.String application, java.lang.String entityToken, java.lang.String policyId)
public javax.ws.rs.core.Response stop(java.lang.String application, java.lang.String entityToken, java.lang.String policyId)