Class Relationship

java.lang.Object
org.apache.nifi.processor.Relationship
All Implemented Interfaces:
Comparable<Relationship>

public final class Relationship extends Object implements Comparable<Relationship>
An immutable object for holding information about a type of relationship.
  • Field Details

    • SELF

      public static final Relationship SELF
    • ANONYMOUS

      public static final Relationship ANONYMOUS
    • name

      private final String name
      The proper name of the relationship. Determines the relationship 'identity'
    • description

      private final String description
      A user displayable description of the purpose of this relationship.
    • hashCode

      private final int hashCode
      The hash code, which is computed in the constructor because it is hashed very frequently and the hash code is constant
    • isAutoTerminate

      private final boolean isAutoTerminate
      The flag which tells the controller to auto terminate this relationship, so that the processor can be run even if it does not have connections from this relationship
  • Constructor Details

  • Method Details