Class ProcessorConfigDTO
java.lang.Object
org.apache.nifi.api.toolkit.model.ProcessorConfigDTO
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class ProcessorConfigDTO
extends Object
ProcessorConfigDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Determines whether the FlowFile should be penalized or the processor should be yielded between retries. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAutoTerminatedRelationshipsItem
(String autoTerminatedRelationshipsItem) addRetriedRelationshipsItem
(String retriedRelationshipsItem) addSensitiveDynamicPropertyNamesItem
(String sensitiveDynamicPropertyNamesItem) annotationData
(String annotationData) autoTerminatedRelationships
(List<String> autoTerminatedRelationships) bulletinLevel
(String bulletinLevel) concurrentlySchedulableTaskCount
(Integer concurrentlySchedulableTaskCount) customUiUrl
(String customUiUrl) defaultConcurrentTasks
(Map<String, String> defaultConcurrentTasks) defaultSchedulingPeriod
(Map<String, String> defaultSchedulingPeriod) descriptors
(Map<String, PropertyDescriptorDTO> descriptors) 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.The comments for the processor.The number of tasks that should be concurrently schedule for the processor.The URL for the processor's custom configuration UI if applicable.Maps default values for concurrent tasks for each applicable scheduling strategy.Maps default values for scheduling period for each applicable scheduling strategy.Descriptors for the processor's properties.Indicates the node where the process will execute.Maximum amount of time to be waited during a retry period.The amount of time that is used when the process penalizes a flowfile.The properties for the processor.All the relationships should be retried.Overall number of retries.The run duration for the processor in milliseconds.The frequency with which to schedule the processor.Indicates how the processor should be scheduled to run.Set of sensitive dynamic property namesThe amount of time that must elapse before this processor is scheduled again after yielding.int
hashCode()
Whether the processor is loss tolerant.lossTolerant
(Boolean lossTolerant) maxBackoffPeriod
(String maxBackoffPeriod) penaltyDuration
(String penaltyDuration) properties
(Map<String, String> properties) putDefaultConcurrentTasksItem
(String key, String defaultConcurrentTasksItem) putDefaultSchedulingPeriodItem
(String key, String defaultSchedulingPeriodItem) putDescriptorsItem
(String key, PropertyDescriptorDTO descriptorsItem) putPropertiesItem
(String key, String propertiesItem) retriedRelationships
(List<String> retriedRelationships) retryCount
(Integer retryCount) runDurationMillis
(Long runDurationMillis) schedulingPeriod
(String schedulingPeriod) schedulingStrategy
(String schedulingStrategy) sensitiveDynamicPropertyNames
(List<String> sensitiveDynamicPropertyNames) void
setAnnotationData
(String annotationData) void
setAutoTerminatedRelationships
(List<String> autoTerminatedRelationships) void
setBulletinLevel
(String bulletinLevel) void
setComments
(String comments) void
setConcurrentlySchedulableTaskCount
(Integer concurrentlySchedulableTaskCount) void
setCustomUiUrl
(String customUiUrl) void
setDefaultConcurrentTasks
(Map<String, String> defaultConcurrentTasks) void
setDefaultSchedulingPeriod
(Map<String, String> defaultSchedulingPeriod) void
setDescriptors
(Map<String, PropertyDescriptorDTO> descriptors) void
setExecutionNode
(String executionNode) void
setLossTolerant
(Boolean lossTolerant) void
setMaxBackoffPeriod
(String maxBackoffPeriod) void
setPenaltyDuration
(String penaltyDuration) void
setProperties
(Map<String, String> properties) void
setRetriedRelationships
(List<String> retriedRelationships) void
setRetryCount
(Integer retryCount) void
setRunDurationMillis
(Long runDurationMillis) void
setSchedulingPeriod
(String schedulingPeriod) void
setSchedulingStrategy
(String schedulingStrategy) void
setSensitiveDynamicPropertyNames
(List<String> sensitiveDynamicPropertyNames) 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
-
properties
-
descriptors
-
sensitiveDynamicPropertyNames
-
schedulingPeriod
-
schedulingStrategy
-
executionNode
-
penaltyDuration
-
yieldDuration
-
bulletinLevel
-
runDurationMillis
-
concurrentlySchedulableTaskCount
-
autoTerminatedRelationships
-
comments
-
customUiUrl
-
lossTolerant
-
annotationData
-
defaultConcurrentTasks
-
defaultSchedulingPeriod
-
retryCount
-
retriedRelationships
-
backoffMechanism
-
maxBackoffPeriod
-
-
Constructor Details
-
ProcessorConfigDTO
public ProcessorConfigDTO()
-
-
Method Details
-
properties
-
putPropertiesItem
-
getProperties
The properties for the processor. Properties whose value is not set will only contain the property name.- Returns:
- properties
-
setProperties
-
descriptors
-
putDescriptorsItem
-
getDescriptors
Descriptors for the processor's properties.- Returns:
- descriptors
-
setDescriptors
-
sensitiveDynamicPropertyNames
-
addSensitiveDynamicPropertyNamesItem
public ProcessorConfigDTO addSensitiveDynamicPropertyNamesItem(String sensitiveDynamicPropertyNamesItem) -
getSensitiveDynamicPropertyNames
Set of sensitive dynamic property names- Returns:
- sensitiveDynamicPropertyNames
-
setSensitiveDynamicPropertyNames
-
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 amount 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 ProcessorConfigDTO 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 ProcessorConfigDTO 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
-
comments
-
getComments
The comments for the processor.- Returns:
- comments
-
setComments
-
customUiUrl
-
getCustomUiUrl
The URL for the processor's custom configuration UI if applicable.- Returns:
- customUiUrl
-
setCustomUiUrl
-
lossTolerant
-
isLossTolerant
Whether the processor is loss tolerant.- Returns:
- lossTolerant
-
setLossTolerant
-
annotationData
-
getAnnotationData
The annotation data for the processor used to relay configuration between a custom UI and the procesosr.- Returns:
- annotationData
-
setAnnotationData
-
defaultConcurrentTasks
-
putDefaultConcurrentTasksItem
public ProcessorConfigDTO putDefaultConcurrentTasksItem(String key, String defaultConcurrentTasksItem) -
getDefaultConcurrentTasks
Maps default values for concurrent tasks for each applicable scheduling strategy.- Returns:
- defaultConcurrentTasks
-
setDefaultConcurrentTasks
-
defaultSchedulingPeriod
-
putDefaultSchedulingPeriodItem
public ProcessorConfigDTO putDefaultSchedulingPeriodItem(String key, String defaultSchedulingPeriodItem) -
getDefaultSchedulingPeriod
Maps default values for scheduling period for each applicable scheduling strategy.- Returns:
- defaultSchedulingPeriod
-
setDefaultSchedulingPeriod
-
retryCount
-
getRetryCount
Overall number of retries.- Returns:
- retryCount
-
setRetryCount
-
retriedRelationships
-
addRetriedRelationshipsItem
-
getRetriedRelationships
All the relationships should be retried.- Returns:
- retriedRelationships
-
setRetriedRelationships
-
getBackoffMechanism
Determines whether the FlowFile should be penalized or the processor should be yielded between retries.- Returns:
- backoffMechanism
-
maxBackoffPeriod
-
getMaxBackoffPeriod
Maximum amount of time to be waited during a retry period.- Returns:
- maxBackoffPeriod
-
setMaxBackoffPeriod
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-