Class ConnectableProcessContext

java.lang.Object
org.apache.nifi.controller.repository.scheduling.ConnectableProcessContext
All Implemented Interfaces:
org.apache.nifi.context.ClusterContext, org.apache.nifi.context.PropertyContext, org.apache.nifi.processor.ProcessContext

public class ConnectableProcessContext extends Object implements org.apache.nifi.processor.ProcessContext
This class is essentially an empty shell for Connectables that are not Processors
  • Field Details

  • Constructor Details

    • ConnectableProcessContext

      public ConnectableProcessContext(Connectable connectable, StateManager stateManager)
  • Method Details

    • getProperty

      public PropertyValue getProperty(PropertyDescriptor descriptor)
      Specified by:
      getProperty in interface org.apache.nifi.context.PropertyContext
    • getProperty

      public PropertyValue getProperty(String propertyName)
      Specified by:
      getProperty in interface org.apache.nifi.processor.ProcessContext
    • newPropertyValue

      public PropertyValue newPropertyValue(String rawValue)
      Specified by:
      newPropertyValue in interface org.apache.nifi.processor.ProcessContext
    • yield

      public void yield()
      Specified by:
      yield in interface org.apache.nifi.processor.ProcessContext
    • getMaxConcurrentTasks

      public int getMaxConcurrentTasks()
      Specified by:
      getMaxConcurrentTasks in interface org.apache.nifi.processor.ProcessContext
    • getExecutionNode

      public org.apache.nifi.scheduling.ExecutionNode getExecutionNode()
      Specified by:
      getExecutionNode in interface org.apache.nifi.processor.ProcessContext
    • getAnnotationData

      public String getAnnotationData()
      Specified by:
      getAnnotationData in interface org.apache.nifi.processor.ProcessContext
    • getAllProperties

      public Map<String,String> getAllProperties()
      Specified by:
      getAllProperties in interface org.apache.nifi.context.PropertyContext
    • getProperties

      public Map<PropertyDescriptor,String> getProperties()
      Specified by:
      getProperties in interface org.apache.nifi.processor.ProcessContext
    • getControllerServiceLookup

      public ControllerServiceLookup getControllerServiceLookup()
      Specified by:
      getControllerServiceLookup in interface org.apache.nifi.processor.ProcessContext
    • getAvailableRelationships

      public Set<org.apache.nifi.processor.Relationship> getAvailableRelationships()
      Specified by:
      getAvailableRelationships in interface org.apache.nifi.processor.ProcessContext
    • isAutoTerminated

      public boolean isAutoTerminated(org.apache.nifi.processor.Relationship relationship)
      Specified by:
      isAutoTerminated in interface org.apache.nifi.processor.ProcessContext
    • hasIncomingConnection

      public boolean hasIncomingConnection()
      Specified by:
      hasIncomingConnection in interface org.apache.nifi.processor.ProcessContext
    • hasNonLoopConnection

      public boolean hasNonLoopConnection()
      Specified by:
      hasNonLoopConnection in interface org.apache.nifi.processor.ProcessContext
    • hasConnection

      public boolean hasConnection(org.apache.nifi.processor.Relationship relationship)
      Specified by:
      hasConnection in interface org.apache.nifi.processor.ProcessContext
    • isExpressionLanguagePresent

      public boolean isExpressionLanguagePresent(PropertyDescriptor property)
      Specified by:
      isExpressionLanguagePresent in interface org.apache.nifi.processor.ProcessContext
    • getStateManager

      public StateManager getStateManager()
      Specified by:
      getStateManager in interface org.apache.nifi.processor.ProcessContext
    • getName

      public String getName()
      Specified by:
      getName in interface org.apache.nifi.processor.ProcessContext
    • isConnectedToCluster

      public boolean isConnectedToCluster()
      Specified by:
      isConnectedToCluster in interface org.apache.nifi.context.ClusterContext
    • isRelationshipRetried

      public boolean isRelationshipRetried(org.apache.nifi.processor.Relationship relationship)
      Specified by:
      isRelationshipRetried in interface org.apache.nifi.processor.ProcessContext
    • getRetryCount

      public int getRetryCount()
      Specified by:
      getRetryCount in interface org.apache.nifi.processor.ProcessContext