Package org.apache.nifi.cluster.manager
Interface ComponentEntityStatusMerger<StatusDtoType>
- All Known Implementing Classes:
ConnectionEntityMerger
,ConnectionStatusEndpointMerger
,GroupStatusEndpointMerger
,PortEntityMerger
,PortStatusEndpointMerger
,ProcessGroupEntityMerger
,ProcessorEntityMerger
,ProcessorStatusEndpointMerger
,RemoteProcessGroupEntityMerger
,RemoteProcessGroupStatusEndpointMerger
public interface ComponentEntityStatusMerger<StatusDtoType>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
mergeStatus
(StatusDtoType clientStatus, boolean clientStatusReadablePermission, StatusDtoType status, boolean statusReadablePermission, NodeIdentifier statusNodeIdentifier) Merges status into clientStatus based on the given permissions.
-
Method Details
-
mergeStatus
void mergeStatus(StatusDtoType clientStatus, boolean clientStatusReadablePermission, StatusDtoType status, boolean statusReadablePermission, NodeIdentifier statusNodeIdentifier) Merges status into clientStatus based on the given permissions.- Parameters:
clientStatus
- The status that will be returned to the client after mergingclientStatusReadablePermission
- The read permission of the status that will be returned to the client after mergingstatus
- The status to be merged into the client statusstatusReadablePermission
- The read permission of the status to be merged into the client statusstatusNodeIdentifier
- TheNodeIdentifier
of the node from which status was received
-