Class StandardControllerServiceReference
java.lang.Object
org.apache.nifi.controller.service.StandardControllerServiceReference
- All Implemented Interfaces:
ControllerServiceReference
public class StandardControllerServiceReference
extends Object
implements ControllerServiceReference
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<ComponentNode> private final ControllerServiceNode -
Constructor Summary
ConstructorsConstructorDescriptionStandardControllerServiceReference(ControllerServiceNode referencedService, Set<ComponentNode> referencingComponents) -
Method Summary
Modifier and TypeMethodDescription<T> List<T> findRecursiveReferences(Class<T> componentType) private <T> List<T> findRecursiveReferences(ControllerServiceNode referencedNode, Class<T> componentType, Set<ControllerServiceNode> servicesVisited) private booleanisRunning(ComponentNode component)
-
Field Details
-
referenced
-
components
-
-
Constructor Details
-
StandardControllerServiceReference
public StandardControllerServiceReference(ControllerServiceNode referencedService, Set<ComponentNode> referencingComponents)
-
-
Method Details
-
getReferencedComponent
- Specified by:
getReferencedComponentin interfaceControllerServiceReference
-
getReferencingComponents
- Specified by:
getReferencingComponentsin interfaceControllerServiceReference
-
isRunning
-
getActiveReferences
- Specified by:
getActiveReferencesin interfaceControllerServiceReference
-
findRecursiveReferences
- Specified by:
findRecursiveReferencesin interfaceControllerServiceReference
-
findRecursiveReferences
private <T> List<T> findRecursiveReferences(ControllerServiceNode referencedNode, Class<T> componentType, Set<ControllerServiceNode> servicesVisited)
-