public class FlowDifferenceFilters extends Object
| Modifier and Type | Field and Description |
|---|---|
static Predicate<org.apache.nifi.registry.flow.diff.FlowDifference> |
FILTER_ADDED_REMOVED_REMOTE_PORTS
Predicate that returns true if the difference is NOT a remote port being added, and false if it is.
|
static Predicate<org.apache.nifi.registry.flow.diff.FlowDifference> |
FILTER_IGNORABLE_VERSIONED_FLOW_COORDINATE_CHANGES |
static Predicate<org.apache.nifi.registry.flow.diff.FlowDifference> |
FILTER_PUBLIC_PORT_NAME_CHANGES
Predicate that returns true if the difference is NOT a name change on a public port (i.e.
|
| Constructor and Description |
|---|
FlowDifferenceFilters() |
public static Predicate<org.apache.nifi.registry.flow.diff.FlowDifference> FILTER_PUBLIC_PORT_NAME_CHANGES
public static Predicate<org.apache.nifi.registry.flow.diff.FlowDifference> FILTER_ADDED_REMOVED_REMOTE_PORTS
public static Predicate<org.apache.nifi.registry.flow.diff.FlowDifference> FILTER_IGNORABLE_VERSIONED_FLOW_COORDINATE_CHANGES
public static boolean isPublicPortNameChange(org.apache.nifi.registry.flow.diff.FlowDifference fd)
public static boolean isAddedOrRemovedRemotePort(org.apache.nifi.registry.flow.diff.FlowDifference fd)
public static boolean isIgnorableVersionedFlowCoordinateChange(org.apache.nifi.registry.flow.diff.FlowDifference fd)
public static boolean isNewPropertyWithDefaultValue(org.apache.nifi.registry.flow.diff.FlowDifference fd, FlowManager flowManager)
private static boolean isNewPropertyWithDefaultValue(org.apache.nifi.registry.flow.diff.FlowDifference fd, ComponentNode componentNode)
public static boolean isScheduledStateNew(org.apache.nifi.registry.flow.diff.FlowDifference fd)
public static boolean isNewRelationshipAutoTerminatedAndDefaulted(org.apache.nifi.registry.flow.diff.FlowDifference fd, VersionedProcessGroup processGroup, FlowManager flowManager)
private static <T> T replaceNull(T value,
T replacement)
private static boolean hasConnection(VersionedProcessGroup processGroup, VersionedProcessor processor, String relationship)
processGroup - the process groupprocessor - the source processorrelationship - the relationshiptrue if such a connection exists, false otherwise.Copyright © 2021 Apache NiFi Project. All rights reserved.