public class PolicyChangeProcessor extends Object implements ChangeTypeVisitor
| Constructor and Description |
|---|
PolicyChangeProcessor(MultiplexingPolicyDeploymentService policyDeploymentService) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(List<PolicyDeploymentStatus> currentStatusList,
List<PolicyDefinition> newDefinitions)
Given the current deployment statuses of all policies and the desired policy definitions takes action to consolidate the
current status with with the desired status.
|
void |
visit(PolicyAdded policyAdded) |
void |
visit(PolicyRemoved policyRemoved) |
void |
visit(PolicyReorder policyReorder) |
void |
visit(PolicyRevert policyRevert) |
void |
visit(PolicyUnmodified policyUnmodified) |
void |
visit(PolicyUpdate policyUpdate) |
public PolicyChangeProcessor(MultiplexingPolicyDeploymentService policyDeploymentService)
public void process(List<PolicyDeploymentStatus> currentStatusList, List<PolicyDefinition> newDefinitions)
currentStatusList - a List of PolicyDefinitionDeploymentStatus that reflects the current status.newDefinitions - a List of PolicyDefinition that should be currently applied.public void visit(PolicyAdded policyAdded)
visit in interface ChangeTypeVisitorpublic void visit(PolicyUpdate policyUpdate)
visit in interface ChangeTypeVisitorpublic void visit(PolicyRemoved policyRemoved)
visit in interface ChangeTypeVisitorpublic void visit(PolicyReorder policyReorder)
visit in interface ChangeTypeVisitorpublic void visit(PolicyRevert policyRevert)
visit in interface ChangeTypeVisitorpublic void visit(PolicyUnmodified policyUnmodified)
visit in interface ChangeTypeVisitorCopyright © 2014–2025 MuleSoft, Inc.. All rights reserved.