Class StandardControllerServiceResolver
java.lang.Object
org.apache.nifi.controller.service.StandardControllerServiceResolver
- All Implemented Interfaces:
ControllerServiceResolver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Authorizerprivate final ControllerServiceApiLookupprivate final ControllerServiceProviderprivate final FlowManagerprivate final NiFiRegistryFlowMapper -
Constructor Summary
ConstructorsConstructorDescriptionStandardControllerServiceResolver(Authorizer authorizer, FlowManager flowManager, NiFiRegistryFlowMapper flowMapper, ControllerServiceProvider controllerServiceProvider, ControllerServiceApiLookup controllerServiceApiLookup) -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanimplementsApi(ControllerServiceAPI requiredServiceApi, VersionedControllerService versionedControllerService) private voidresolveInheritedControllerServices(VersionedConfigurableExtension component, Set<VersionedControllerService> availableControllerServices, Map<String, ExternalControllerServiceReference> externalControllerServiceReferences) voidresolveInheritedControllerServices(FlowSnapshotContainer flowSnapshotContainer, String parentGroupId, NiFiUser user) private voidresolveInheritedControllerServices(FlowSnapshotContainer flowSnapshotContainer, VersionedProcessGroup versionedGroup, Map<String, ExternalControllerServiceReference> externalControllerServiceReferences, Stack<Set<VersionedControllerService>> serviceHierarchyStack)
-
Field Details
-
authorizer
-
flowManager
-
flowMapper
-
controllerServiceProvider
-
controllerServiceApiLookup
-
-
Constructor Details
-
StandardControllerServiceResolver
public StandardControllerServiceResolver(Authorizer authorizer, FlowManager flowManager, NiFiRegistryFlowMapper flowMapper, ControllerServiceProvider controllerServiceProvider, ControllerServiceApiLookup controllerServiceApiLookup)
-
-
Method Details
-
resolveInheritedControllerServices
public void resolveInheritedControllerServices(FlowSnapshotContainer flowSnapshotContainer, String parentGroupId, NiFiUser user) - Specified by:
resolveInheritedControllerServicesin interfaceControllerServiceResolver
-
resolveInheritedControllerServices
private void resolveInheritedControllerServices(FlowSnapshotContainer flowSnapshotContainer, VersionedProcessGroup versionedGroup, Map<String, ExternalControllerServiceReference> externalControllerServiceReferences, Stack<Set<VersionedControllerService>> serviceHierarchyStack) -
resolveInheritedControllerServices
private void resolveInheritedControllerServices(VersionedConfigurableExtension component, Set<VersionedControllerService> availableControllerServices, Map<String, ExternalControllerServiceReference> externalControllerServiceReferences) -
implementsApi
private boolean implementsApi(ControllerServiceAPI requiredServiceApi, VersionedControllerService versionedControllerService)
-