Class VersionedProcessGroup
java.lang.Object
org.apache.nifi.api.toolkit.model.VersionedProcessGroup
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class VersionedProcessGroup
extends Object
VersionedProcessGroup
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Gets or Sets componentTypestatic enum
The Execution Engine that should be used to run the components within the group.static enum
The Scheduled State of the Process Group, if the group is configured to use the Stateless Execution Engine. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private List
<VersionedConnection> private List
<VersionedControllerService> private String
private Long
private String
private String
private String
private List
<VersionedFunnel> private String
private String
private List
<VersionedPort> private String
private List
<VersionedLabel> private String
private Integer
private String
private List
<VersionedPort> private String
private Position
private List
<VersionedProcessGroup> private List
<VersionedProcessor> private List
<VersionedRemoteProcessGroup> private String
private VersionedFlowCoordinates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConnectionsItem
(VersionedConnection connectionsItem) addControllerServicesItem
(VersionedControllerService controllerServicesItem) addFunnelsItem
(VersionedFunnel funnelsItem) addInputPortsItem
(VersionedPort inputPortsItem) addLabelsItem
(VersionedLabel labelsItem) addOutputPortsItem
(VersionedPort outputPortsItem) addProcessGroupsItem
(VersionedProcessGroup processGroupsItem) addProcessorsItem
(VersionedProcessor processorsItem) addRemoteProcessGroupsItem
(VersionedRemoteProcessGroup remoteProcessGroupsItem) componentType
(VersionedProcessGroup.ComponentTypeEnum componentType) connections
(List<VersionedConnection> connections) controllerServices
(List<VersionedControllerService> controllerServices) defaultBackPressureDataSizeThreshold
(String defaultBackPressureDataSizeThreshold) defaultBackPressureObjectThreshold
(Long defaultBackPressureObjectThreshold) defaultFlowFileExpiration
(String defaultFlowFileExpiration) boolean
executionEngine
(VersionedProcessGroup.ExecutionEngineEnum executionEngine) flowFileConcurrency
(String flowFileConcurrency) flowFileOutboundPolicy
(String flowFileOutboundPolicy) funnels
(List<VersionedFunnel> funnels) The user-supplied comments for the componentGet componentTypeThe ConnectionsThe Controller ServicesDefault value used in this Process Group for the maximum data size of objects that can be queued before back pressure is applied.Default value used in this Process Group for the maximum number of objects that can be queued before back pressure is applied.The default FlowFile Expiration for this Process Group.The Execution Engine that should be used to run the components within the group.The configured FlowFile Concurrency for the Process GroupThe FlowFile Outbound Policy for the Process GroupThe FunnelsThe ID of the Process Group that this component belongs toThe component's unique identifierThe Input PortsThe instance ID of an existing component that is described by this VersionedComponent, or null if this is not mapped to an instantiated componentThe LabelsThe log file suffix for this Process Group for dedicated logging.The maximum number of concurrent tasks that should be scheduled for this Process Group when using the Stateless EnginegetName()
The component's nameThe Output PortsThe name of the parameter context used by this process groupGet positionThe child Process GroupsThe ProcessorsThe Remote Process GroupsThe Scheduled State of the Process Group, if the group is configured to use the Stateless Execution Engine.The maximum amount of time that the flow is allows to run using the Stateless engine before it times out and is considered a failureGet versionedFlowCoordinatesgroupIdentifier
(String groupIdentifier) int
hashCode()
identifier
(String identifier) inputPorts
(List<VersionedPort> inputPorts) instanceIdentifier
(String instanceIdentifier) labels
(List<VersionedLabel> labels) logFileSuffix
(String logFileSuffix) maxConcurrentTasks
(Integer maxConcurrentTasks) outputPorts
(List<VersionedPort> outputPorts) parameterContextName
(String parameterContextName) processGroups
(List<VersionedProcessGroup> processGroups) processors
(List<VersionedProcessor> processors) remoteProcessGroups
(List<VersionedRemoteProcessGroup> remoteProcessGroups) scheduledState
(VersionedProcessGroup.ScheduledStateEnum scheduledState) void
setComments
(String comments) void
setComponentType
(VersionedProcessGroup.ComponentTypeEnum componentType) void
setConnections
(List<VersionedConnection> connections) void
setControllerServices
(List<VersionedControllerService> controllerServices) void
setDefaultBackPressureDataSizeThreshold
(String defaultBackPressureDataSizeThreshold) void
setDefaultBackPressureObjectThreshold
(Long defaultBackPressureObjectThreshold) void
setDefaultFlowFileExpiration
(String defaultFlowFileExpiration) void
setExecutionEngine
(VersionedProcessGroup.ExecutionEngineEnum executionEngine) void
setFlowFileConcurrency
(String flowFileConcurrency) void
setFlowFileOutboundPolicy
(String flowFileOutboundPolicy) void
setFunnels
(List<VersionedFunnel> funnels) void
setGroupIdentifier
(String groupIdentifier) void
setIdentifier
(String identifier) void
setInputPorts
(List<VersionedPort> inputPorts) void
setInstanceIdentifier
(String instanceIdentifier) void
setLabels
(List<VersionedLabel> labels) void
setLogFileSuffix
(String logFileSuffix) void
setMaxConcurrentTasks
(Integer maxConcurrentTasks) void
void
setOutputPorts
(List<VersionedPort> outputPorts) void
setParameterContextName
(String parameterContextName) void
setPosition
(Position position) void
setProcessGroups
(List<VersionedProcessGroup> processGroups) void
setProcessors
(List<VersionedProcessor> processors) void
setRemoteProcessGroups
(List<VersionedRemoteProcessGroup> remoteProcessGroups) void
setScheduledState
(VersionedProcessGroup.ScheduledStateEnum scheduledState) void
setStatelessFlowTimeout
(String statelessFlowTimeout) void
setVersionedFlowCoordinates
(VersionedFlowCoordinates versionedFlowCoordinates) statelessFlowTimeout
(String statelessFlowTimeout) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
versionedFlowCoordinates
(VersionedFlowCoordinates versionedFlowCoordinates)
-
Field Details
-
identifier
-
instanceIdentifier
-
name
-
comments
-
position
-
processGroups
-
remoteProcessGroups
-
processors
-
inputPorts
-
outputPorts
-
connections
-
labels
-
funnels
-
controllerServices
-
versionedFlowCoordinates
-
parameterContextName
-
defaultFlowFileExpiration
-
defaultBackPressureObjectThreshold
-
defaultBackPressureDataSizeThreshold
-
scheduledState
-
executionEngine
-
maxConcurrentTasks
-
statelessFlowTimeout
-
logFileSuffix
-
flowFileConcurrency
-
flowFileOutboundPolicy
-
componentType
-
groupIdentifier
-
-
Constructor Details
-
VersionedProcessGroup
public VersionedProcessGroup()
-
-
Method Details
-
identifier
-
getIdentifier
The component's unique identifier- Returns:
- identifier
-
setIdentifier
-
instanceIdentifier
-
getInstanceIdentifier
The instance ID of an existing component that is described by this VersionedComponent, or null if this is not mapped to an instantiated component- Returns:
- instanceIdentifier
-
setInstanceIdentifier
-
name
-
getName
The component's name- Returns:
- name
-
setName
-
comments
-
getComments
The user-supplied comments for the component- Returns:
- comments
-
setComments
-
position
-
getPosition
Get position- Returns:
- position
-
setPosition
-
processGroups
-
addProcessGroupsItem
-
getProcessGroups
The child Process Groups- Returns:
- processGroups
-
setProcessGroups
-
remoteProcessGroups
public VersionedProcessGroup remoteProcessGroups(List<VersionedRemoteProcessGroup> remoteProcessGroups) -
addRemoteProcessGroupsItem
public VersionedProcessGroup addRemoteProcessGroupsItem(VersionedRemoteProcessGroup remoteProcessGroupsItem) -
getRemoteProcessGroups
The Remote Process Groups- Returns:
- remoteProcessGroups
-
setRemoteProcessGroups
-
processors
-
addProcessorsItem
-
getProcessors
The Processors- Returns:
- processors
-
setProcessors
-
inputPorts
-
addInputPortsItem
-
getInputPorts
The Input Ports- Returns:
- inputPorts
-
setInputPorts
-
outputPorts
-
addOutputPortsItem
-
getOutputPorts
The Output Ports- Returns:
- outputPorts
-
setOutputPorts
-
connections
-
addConnectionsItem
-
getConnections
The Connections- Returns:
- connections
-
setConnections
-
labels
-
addLabelsItem
-
getLabels
The Labels- Returns:
- labels
-
setLabels
-
funnels
-
addFunnelsItem
-
getFunnels
The Funnels- Returns:
- funnels
-
setFunnels
-
controllerServices
public VersionedProcessGroup controllerServices(List<VersionedControllerService> controllerServices) -
addControllerServicesItem
public VersionedProcessGroup addControllerServicesItem(VersionedControllerService controllerServicesItem) -
getControllerServices
The Controller Services- Returns:
- controllerServices
-
setControllerServices
-
versionedFlowCoordinates
public VersionedProcessGroup versionedFlowCoordinates(VersionedFlowCoordinates versionedFlowCoordinates) -
getVersionedFlowCoordinates
Get versionedFlowCoordinates- Returns:
- versionedFlowCoordinates
-
setVersionedFlowCoordinates
-
parameterContextName
-
getParameterContextName
The name of the parameter context used by this process group- Returns:
- parameterContextName
-
setParameterContextName
-
defaultFlowFileExpiration
-
getDefaultFlowFileExpiration
The default FlowFile Expiration for this Process Group.- Returns:
- defaultFlowFileExpiration
-
setDefaultFlowFileExpiration
-
defaultBackPressureObjectThreshold
public VersionedProcessGroup defaultBackPressureObjectThreshold(Long defaultBackPressureObjectThreshold) -
getDefaultBackPressureObjectThreshold
Default value used in this Process Group for the maximum number of objects that can be queued before back pressure is applied.- Returns:
- defaultBackPressureObjectThreshold
-
setDefaultBackPressureObjectThreshold
-
defaultBackPressureDataSizeThreshold
public VersionedProcessGroup defaultBackPressureDataSizeThreshold(String defaultBackPressureDataSizeThreshold) -
getDefaultBackPressureDataSizeThreshold
Default value used in this Process Group for the maximum data size of objects that can be queued before back pressure is applied.- Returns:
- defaultBackPressureDataSizeThreshold
-
setDefaultBackPressureDataSizeThreshold
-
scheduledState
public VersionedProcessGroup scheduledState(VersionedProcessGroup.ScheduledStateEnum scheduledState) -
getScheduledState
The Scheduled State of the Process Group, if the group is configured to use the Stateless Execution Engine. Otherwise, this value has no relevance.- Returns:
- scheduledState
-
setScheduledState
-
executionEngine
public VersionedProcessGroup executionEngine(VersionedProcessGroup.ExecutionEngineEnum executionEngine) -
getExecutionEngine
The Execution Engine that should be used to run the components within the group.- Returns:
- executionEngine
-
setExecutionEngine
-
maxConcurrentTasks
-
getMaxConcurrentTasks
The maximum number of concurrent tasks that should be scheduled for this Process Group when using the Stateless Engine- Returns:
- maxConcurrentTasks
-
setMaxConcurrentTasks
-
statelessFlowTimeout
-
getStatelessFlowTimeout
The maximum amount of time that the flow is allows to run using the Stateless engine before it times out and is considered a failure- Returns:
- statelessFlowTimeout
-
setStatelessFlowTimeout
-
logFileSuffix
-
getLogFileSuffix
The log file suffix for this Process Group for dedicated logging.- Returns:
- logFileSuffix
-
setLogFileSuffix
-
flowFileConcurrency
-
getFlowFileConcurrency
The configured FlowFile Concurrency for the Process Group- Returns:
- flowFileConcurrency
-
setFlowFileConcurrency
-
flowFileOutboundPolicy
-
getFlowFileOutboundPolicy
The FlowFile Outbound Policy for the Process Group- Returns:
- flowFileOutboundPolicy
-
setFlowFileOutboundPolicy
-
componentType
-
getComponentType
Get componentType- Returns:
- componentType
-
setComponentType
-
groupIdentifier
-
getGroupIdentifier
The ID of the Process Group that this component belongs to- Returns:
- groupIdentifier
-
setGroupIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-