Package org.apache.nifi.processor
Class Relationship
java.lang.Object
org.apache.nifi.processor.Relationship
- All Implemented Interfaces:
Comparable<Relationship>
An immutable object for holding information about a type of relationship.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Relationship
private final String
A user displayable description of the purpose of this relationship.private final int
The hash code, which is computed in the constructor because it is hashed very frequently and the hash code is constantprivate final boolean
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 relationshipprivate final String
The proper name of the relationship.static final Relationship
-
Constructor Summary
-
Method Summary
-
Field Details
-
SELF
-
ANONYMOUS
-
name
The proper name of the relationship. Determines the relationship 'identity' -
description
A user displayable description of the purpose of this relationship. -
hashCode
private final int hashCodeThe hash code, which is computed in the constructor because it is hashed very frequently and the hash code is constant -
isAutoTerminate
private final boolean isAutoTerminateThe 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
-
Relationship
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Relationship>
-
getName
-
getDescription
-
isAutoTerminated
public boolean isAutoTerminated() -
equals
-
hashCode
public int hashCode() -
toString
-