public class PolicyParametrizationFactory extends Object
| Constructor and Description |
|---|
PolicyParametrizationFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildParametrizationId(Policy policy,
ApiImplementation apiImplementation)
Returns the parametrization ID that is going to be used for the policy deployment after evaluating the feature flag condition
and the policy's mule version.
|
org.mule.runtime.core.api.policy.PolicyParametrization |
create(Policy policy,
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(Policy policy, 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.policy - the policy that contains its definitionimplementation - 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(Policy policy, ApiImplementation apiImplementation)
policy - name of the policyapiImplementation - API implementationCopyright © 2014–2025 MuleSoft, Inc.. All rights reserved.