Class ConnectableProcessContext
java.lang.Object
org.apache.nifi.controller.repository.scheduling.ConnectableProcessContext
- All Implemented Interfaces:
ClusterContext,PropertyContext,ProcessContext
This class is essentially an empty shell for
Connectables that are not Processors-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConnectableProcessContext(Connectable connectable, StateManager stateManager) -
Method Summary
Modifier and TypeMethodDescriptionintgetName()getProperty(String propertyName) getProperty(PropertyDescriptor descriptor) intbooleanhasConnection(Relationship relationship) booleanbooleanbooleanisAutoTerminated(Relationship relationship) booleanbooleanbooleanisRelationshipRetried(Relationship relationship) newPropertyValue(String rawValue) voidyield()
-
Field Details
-
connectable
-
stateManager
-
-
Constructor Details
-
ConnectableProcessContext
-
-
Method Details
-
getProperty
- Specified by:
getPropertyin interfacePropertyContext
-
getProperty
- Specified by:
getPropertyin interfaceProcessContext
-
newPropertyValue
- Specified by:
newPropertyValuein interfaceProcessContext
-
yield
public void yield()- Specified by:
yieldin interfaceProcessContext
-
getMaxConcurrentTasks
public int getMaxConcurrentTasks()- Specified by:
getMaxConcurrentTasksin interfaceProcessContext
-
getExecutionNode
- Specified by:
getExecutionNodein interfaceProcessContext
-
getAnnotationData
- Specified by:
getAnnotationDatain interfaceProcessContext
-
getAllProperties
- Specified by:
getAllPropertiesin interfacePropertyContext
-
getProperties
- Specified by:
getPropertiesin interfaceProcessContext
-
getControllerServiceLookup
- Specified by:
getControllerServiceLookupin interfaceProcessContext
-
getAvailableRelationships
- Specified by:
getAvailableRelationshipsin interfaceProcessContext
-
isAutoTerminated
- Specified by:
isAutoTerminatedin interfaceProcessContext
-
hasIncomingConnection
public boolean hasIncomingConnection()- Specified by:
hasIncomingConnectionin interfaceProcessContext
-
hasNonLoopConnection
public boolean hasNonLoopConnection()- Specified by:
hasNonLoopConnectionin interfaceProcessContext
-
hasConnection
- Specified by:
hasConnectionin interfaceProcessContext
-
isExpressionLanguagePresent
- Specified by:
isExpressionLanguagePresentin interfaceProcessContext
-
getStateManager
- Specified by:
getStateManagerin interfaceProcessContext
-
getName
- Specified by:
getNamein interfaceProcessContext
-
isConnectedToCluster
public boolean isConnectedToCluster()- Specified by:
isConnectedToClusterin interfaceClusterContext
-
isRelationshipRetried
- Specified by:
isRelationshipRetriedin interfaceProcessContext
-
getRetryCount
public int getRetryCount()- Specified by:
getRetryCountin interfaceProcessContext
-