public class PolicyParametrizationFactory extends Object
| Constructor and Description |
|---|
PolicyParametrizationFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildParametrizationId(String policyName,
ApiImplementation implementation)
Builds the parametrization ID that is going to use for the policy deployment.
|
org.mule.runtime.core.api.policy.PolicyParametrization |
create(PolicyDefinition policyDefinition,
ApiImplementation implementation,
File policyConfigFile,
File encryptedPropertiesFile,
Boolean isPolicyReorder,
List<org.mule.runtime.api.notification.NotificationListener> notificationListeners)
Creates a
PolicyParametrization for the specified API implementation, using the policy definition. |
public org.mule.runtime.core.api.policy.PolicyParametrization create(PolicyDefinition policyDefinition, ApiImplementation implementation, File policyConfigFile, File encryptedPropertiesFile, Boolean isPolicyReorder, List<org.mule.runtime.api.notification.NotificationListener> notificationListeners)
PolicyParametrization for the specified API implementation, using the policy definition.policyDefinition - the definition to use to create the parametrizationimplementation - the API implementation for which the parametrization is forpolicyConfigFile - the config file of the policy, needed for the parametrizationencryptedPropertiesFile - the YAML file containing the encrypted configuration, if enabledisPolicyReorder - indicates if it is a parametrization for a policy reordernotificationListeners - listeners to add to receive notifications sent by the policy's contextpublic String buildParametrizationId(String policyName, ApiImplementation implementation)
policyName - name of the policyimplementation - API implementationCopyright © 2014–2022 MuleSoft, Inc.. All rights reserved.