Package org.apache.nifi.controller
Interface Snippet
public interface Snippet
A Snippet represents a segment of the flow
-
Method Details
-
getId
String getId()- Returns:
- id of this snippet
-
getParentGroupId
String getParentGroupId()- Returns:
- parent group id of the components in this snippet
-
getConnections
- Returns:
- connections in this snippet
-
getFunnels
- Returns:
- funnels in this snippet
-
getInputPorts
- Returns:
- input ports in this snippet
-
getOutputPorts
- Returns:
- output ports in this snippet
-
getLabels
- Returns:
- labels in this snippet
-
getProcessGroups
- Returns:
- the identifiers of all ProcessGroups in this Snippet
-
getProcessors
- Returns:
- the identifiers of all Processors in this Snippet
-
getRemoteProcessGroups
- Returns:
- the identifiers of all RemoteProcessGroups in this Snippet
-
isEmpty
boolean isEmpty()- Returns:
- Determines if this snippet is empty
-