Package org.apache.nifi.cluster.manager
Class FlowAnalysisRuleEntityMerger
java.lang.Object
org.apache.nifi.cluster.manager.FlowAnalysisRuleEntityMerger
- All Implemented Interfaces:
ComponentEntityMerger<FlowAnalysisRuleEntity>
public class FlowAnalysisRuleEntityMerger
extends Object
implements ComponentEntityMerger<FlowAnalysisRuleEntity>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
merge
(FlowAnalysisRuleEntity clientEntity, Map<NodeIdentifier, FlowAnalysisRuleEntity> entityMap) Merges the ComponentEntity responses according to theirPermissionsDTO
s.void
mergeComponents
(FlowAnalysisRuleEntity clientEntity, Map<NodeIdentifier, FlowAnalysisRuleEntity> entityMap) Merges the FlowAnalysisRuleEntity responses.private static void
mergeDtos
(FlowAnalysisRuleDTO clientDto, Map<NodeIdentifier, FlowAnalysisRuleDTO> dtoMap)
-
Constructor Details
-
FlowAnalysisRuleEntityMerger
public FlowAnalysisRuleEntityMerger()
-
-
Method Details
-
merge
public void merge(FlowAnalysisRuleEntity clientEntity, Map<NodeIdentifier, FlowAnalysisRuleEntity> entityMap) Description copied from interface:ComponentEntityMerger
Merges the ComponentEntity responses according to theirPermissionsDTO
s. Responsible for invokinginvalid reference
ComponentEntityMerger#mergeComponents(EntityType, Map)
- Specified by:
merge
in interfaceComponentEntityMerger<FlowAnalysisRuleEntity>
- Parameters:
clientEntity
- the entity being returned to the cliententityMap
- all node responses
-
mergeComponents
public void mergeComponents(FlowAnalysisRuleEntity clientEntity, Map<NodeIdentifier, FlowAnalysisRuleEntity> entityMap) Merges the FlowAnalysisRuleEntity responses.- Specified by:
mergeComponents
in interfaceComponentEntityMerger<FlowAnalysisRuleEntity>
- Parameters:
clientEntity
- the entity being returned to the cliententityMap
- all node responses
-
mergeDtos
private static void mergeDtos(FlowAnalysisRuleDTO clientDto, Map<NodeIdentifier, FlowAnalysisRuleDTO> dtoMap)
-