Package org.apache.nifi.util
Class MockRelationshipConfiguration
java.lang.Object
org.apache.nifi.util.MockRelationshipConfiguration
- All Implemented Interfaces:
RelationshipConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Set
<Relationship> private final Map
<String, Relationship> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Relationship
findRelationshipByName
(String name) boolean
hasRelationship
(String relationshipName) boolean
renameRelationship
(String relationshipName, String newName) boolean
splitRelationship
(String relationshipName, String newRelationshipName, String... additionalRelationshipNames) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.nifi.migration.RelationshipConfiguration
hasRelationship
-
Field Details
-
relationshipSplits
-
relationshipRenames
-
rawRelationships
-
originalRelationships
-
-
Constructor Details
-
MockRelationshipConfiguration
-
-
Method Details
-
toRelationshipMigrationResult
-
renameRelationship
- Specified by:
renameRelationship
in interfaceRelationshipConfiguration
-
splitRelationship
public boolean splitRelationship(String relationshipName, String newRelationshipName, String... additionalRelationshipNames) - Specified by:
splitRelationship
in interfaceRelationshipConfiguration
-
hasRelationship
- Specified by:
hasRelationship
in interfaceRelationshipConfiguration
-
findRelationshipByName
-
getRawRelationships
-