public interface ApplicationPolicyManager
| Modifier and Type | Method and Description |
|---|---|
void |
addPolicy(PolicyTemplateDescriptor policyTemplateDescriptor,
PolicyParametrization parametrization)
Add a new policy
|
boolean |
removePolicy(String parametrizedPolicyId)
Removes a policy from the application
|
void addPolicy(PolicyTemplateDescriptor policyTemplateDescriptor, PolicyParametrization parametrization) throws PolicyRegistrationException
policyTemplateDescriptor - describes how to create the policy template. Non nullparametrization - parametrization used to instantiate the policy. Non nullPolicyRegistrationException - if an error occurs registering the policyboolean removePolicy(String parametrizedPolicyId)
parametrizedPolicyId - identifies the parametrized policy. Non empty.?Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.