public final class PolicyParametrization extends Object
Constructor and Description |
---|
PolicyParametrization(String id,
PolicyPointcut pointcut,
int order,
Map<String,String> parameters,
File config,
List<NotificationListener> notificationListeners)
Creates a new parametrization
|
Modifier and Type | Method and Description |
---|---|
File |
getConfig() |
String |
getId() |
List<NotificationListener> |
getNotificationListeners() |
int |
getOrder() |
Map<String,String> |
getParameters() |
PolicyPointcut |
getPointcut() |
public PolicyParametrization(String id, PolicyPointcut pointcut, int order, Map<String,String> parameters, File config, List<NotificationListener> notificationListeners)
id
- parametrization identifier. Non empty.pointcut
- used to determine if the policy must be applied on a given request. Non null.order
- indicates how this policy must be ordered related to other applied policies. A policy with a given order has to
be applied before polices with smaller order and after policies with bigger order. Must be positiveparameters
- parameters for the policy template on which the parametrization is based on. Non null.config
- Mule XML configuration file for creating the policy. Non null.notificationListeners
- notifications listener to be added to policy's context. Non null.public String getId()
public PolicyPointcut getPointcut()
public int getOrder()
public Map<String,String> getParameters()
public File getConfig()
public List<NotificationListener> getNotificationListeners()
Copyright © 2018. All rights reserved.