Class VersionedProcessor
java.lang.Object
org.apache.nifi.api.toolkit.model.VersionedProcessor
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class VersionedProcessor
extends Object
VersionedProcessor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Determines whether the FlowFile should be penalized or the processor should be yielded between retries.static enum
Gets or Sets componentTypestatic enum
The scheduled state of the component -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private String
private Bundle
private String
private Integer
private String
private String
private String
private String
private String
private String
private String
private Position
private Map
<String, VersionedPropertyDescriptor> private Integer
private Long
private String
private String
private String
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAutoTerminatedRelationshipsItem
(String autoTerminatedRelationshipsItem) addRetriedRelationshipsItem
(String retriedRelationshipsItem) annotationData
(String annotationData) autoTerminatedRelationships
(List<String> autoTerminatedRelationships) backoffMechanism
(VersionedProcessor.BackoffMechanismEnum backoffMechanism) bulletinLevel
(String bulletinLevel) componentType
(VersionedProcessor.ComponentTypeEnum componentType) concurrentlySchedulableTaskCount
(Integer concurrentlySchedulableTaskCount) boolean
executionNode
(String executionNode) The annotation data for the processor used to relay configuration between a custom UI and the procesosr.The names of all relationships that cause a flow file to be terminated if the relationship is not connected elsewhere.Determines whether the FlowFile should be penalized or the processor should be yielded between retries.The level at which the processor will report bulletins.Get bundleThe user-supplied comments for the componentGet componentTypeThe number of tasks that should be concurrently schedule for the processor.Indicates the node where the process will execute.The ID of the Process Group that this component belongs toThe component's unique identifierThe instance ID of an existing component that is described by this VersionedComponent, or null if this is not mapped to an instantiated componentMaximum amount of time to be waited during a retry period.getName()
The component's nameThe amout of time that is used when the process penalizes a flowfile.Get positionThe properties for the component.The property descriptors for the component.All the relationships should be retried.Overall number of retries.The run duration for the processor in milliseconds.The scheduled state of the componentThe frequency with which to schedule the processor.Indicates how the processor should be scheduled to run.getStyle()
Stylistic data for rendering in a UIgetType()
The type of the extension componentThe amount of time that must elapse before this processor is scheduled again after yielding.groupIdentifier
(String groupIdentifier) int
hashCode()
identifier
(String identifier) instanceIdentifier
(String instanceIdentifier) maxBackoffPeriod
(String maxBackoffPeriod) penaltyDuration
(String penaltyDuration) properties
(Map<String, String> properties) propertyDescriptors
(Map<String, VersionedPropertyDescriptor> propertyDescriptors) putPropertiesItem
(String key, String propertiesItem) putPropertyDescriptorsItem
(String key, VersionedPropertyDescriptor propertyDescriptorsItem) putStyleItem
(String key, String styleItem) retriedRelationships
(List<String> retriedRelationships) retryCount
(Integer retryCount) runDurationMillis
(Long runDurationMillis) scheduledState
(VersionedProcessor.ScheduledStateEnum scheduledState) schedulingPeriod
(String schedulingPeriod) schedulingStrategy
(String schedulingStrategy) void
setAnnotationData
(String annotationData) void
setAutoTerminatedRelationships
(List<String> autoTerminatedRelationships) void
setBackoffMechanism
(VersionedProcessor.BackoffMechanismEnum backoffMechanism) void
setBulletinLevel
(String bulletinLevel) void
void
setComments
(String comments) void
setComponentType
(VersionedProcessor.ComponentTypeEnum componentType) void
setConcurrentlySchedulableTaskCount
(Integer concurrentlySchedulableTaskCount) void
setExecutionNode
(String executionNode) void
setGroupIdentifier
(String groupIdentifier) void
setIdentifier
(String identifier) void
setInstanceIdentifier
(String instanceIdentifier) void
setMaxBackoffPeriod
(String maxBackoffPeriod) void
void
setPenaltyDuration
(String penaltyDuration) void
setPosition
(Position position) void
setProperties
(Map<String, String> properties) void
setPropertyDescriptors
(Map<String, VersionedPropertyDescriptor> propertyDescriptors) void
setRetriedRelationships
(List<String> retriedRelationships) void
setRetryCount
(Integer retryCount) void
setRunDurationMillis
(Long runDurationMillis) void
setScheduledState
(VersionedProcessor.ScheduledStateEnum scheduledState) void
setSchedulingPeriod
(String schedulingPeriod) void
setSchedulingStrategy
(String schedulingStrategy) void
void
void
setYieldDuration
(String yieldDuration) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
yieldDuration
(String yieldDuration)
-
Field Details
-
identifier
-
instanceIdentifier
-
name
-
comments
-
position
-
type
-
bundle
-
properties
-
propertyDescriptors
-
style
-
annotationData
-
schedulingPeriod
-
schedulingStrategy
-
executionNode
-
penaltyDuration
-
yieldDuration
-
bulletinLevel
-
runDurationMillis
-
concurrentlySchedulableTaskCount
-
autoTerminatedRelationships
-
scheduledState
-
retryCount
-
retriedRelationships
-
backoffMechanism
-
maxBackoffPeriod
-
componentType
-
groupIdentifier
-
-
Constructor Details
-
VersionedProcessor
public VersionedProcessor()
-
-
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
-
type
-
getType
The type of the extension component- Returns:
- type
-
setType
-
bundle
-
getBundle
Get bundle- Returns:
- bundle
-
setBundle
-
properties
-
putPropertiesItem
-
getProperties
The properties for the component. Properties whose value is not set will only contain the property name.- Returns:
- properties
-
setProperties
-
propertyDescriptors
public VersionedProcessor propertyDescriptors(Map<String, VersionedPropertyDescriptor> propertyDescriptors) -
putPropertyDescriptorsItem
public VersionedProcessor putPropertyDescriptorsItem(String key, VersionedPropertyDescriptor propertyDescriptorsItem) -
getPropertyDescriptors
The property descriptors for the component.- Returns:
- propertyDescriptors
-
setPropertyDescriptors
-
style
-
putStyleItem
-
getStyle
Stylistic data for rendering in a UI- Returns:
- style
-
setStyle
-
annotationData
-
getAnnotationData
The annotation data for the processor used to relay configuration between a custom UI and the procesosr.- Returns:
- annotationData
-
setAnnotationData
-
schedulingPeriod
-
getSchedulingPeriod
The frequency with which to schedule the processor. The format of the value will depend on th value of schedulingStrategy.- Returns:
- schedulingPeriod
-
setSchedulingPeriod
-
schedulingStrategy
-
getSchedulingStrategy
Indicates how the processor should be scheduled to run.- Returns:
- schedulingStrategy
-
setSchedulingStrategy
-
executionNode
-
getExecutionNode
Indicates the node where the process will execute.- Returns:
- executionNode
-
setExecutionNode
-
penaltyDuration
-
getPenaltyDuration
The amout of time that is used when the process penalizes a flowfile.- Returns:
- penaltyDuration
-
setPenaltyDuration
-
yieldDuration
-
getYieldDuration
The amount of time that must elapse before this processor is scheduled again after yielding.- Returns:
- yieldDuration
-
setYieldDuration
-
bulletinLevel
-
getBulletinLevel
The level at which the processor will report bulletins.- Returns:
- bulletinLevel
-
setBulletinLevel
-
runDurationMillis
-
getRunDurationMillis
The run duration for the processor in milliseconds.- Returns:
- runDurationMillis
-
setRunDurationMillis
-
concurrentlySchedulableTaskCount
public VersionedProcessor concurrentlySchedulableTaskCount(Integer concurrentlySchedulableTaskCount) -
getConcurrentlySchedulableTaskCount
The number of tasks that should be concurrently schedule for the processor. If the processor doesn't allow parallol processing then any positive input will be ignored.- Returns:
- concurrentlySchedulableTaskCount
-
setConcurrentlySchedulableTaskCount
-
autoTerminatedRelationships
-
addAutoTerminatedRelationshipsItem
public VersionedProcessor addAutoTerminatedRelationshipsItem(String autoTerminatedRelationshipsItem) -
getAutoTerminatedRelationships
The names of all relationships that cause a flow file to be terminated if the relationship is not connected elsewhere. This property differs from the 'isAutoTerminate' property of the RelationshipDTO in that the RelationshipDTO is meant to depict the current configuration, whereas this property can be set in a DTO when updating a Processor in order to change which Relationships should be auto-terminated.- Returns:
- autoTerminatedRelationships
-
setAutoTerminatedRelationships
-
scheduledState
-
getScheduledState
The scheduled state of the component- Returns:
- scheduledState
-
setScheduledState
-
retryCount
-
getRetryCount
Overall number of retries.- Returns:
- retryCount
-
setRetryCount
-
retriedRelationships
-
addRetriedRelationshipsItem
-
getRetriedRelationships
All the relationships should be retried.- Returns:
- retriedRelationships
-
setRetriedRelationships
-
backoffMechanism
public VersionedProcessor backoffMechanism(VersionedProcessor.BackoffMechanismEnum backoffMechanism) -
getBackoffMechanism
Determines whether the FlowFile should be penalized or the processor should be yielded between retries.- Returns:
- backoffMechanism
-
setBackoffMechanism
-
maxBackoffPeriod
-
getMaxBackoffPeriod
Maximum amount of time to be waited during a retry period.- Returns:
- maxBackoffPeriod
-
setMaxBackoffPeriod
-
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).
-