Class ProcessorDefinition
java.lang.Object
org.apache.nifi.api.toolkit.model.ProcessorDefinition
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class ProcessorDefinition
extends Object
ProcessorDefinition
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Any input requirements this processor has. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Boolean
private String
private BuildInfo
private String
private String
private String
private String
private Boolean
private String
private List
<DynamicProperty> private DynamicRelationship
private List
<Restriction> private String
private Boolean
private Map
<String, PropertyDescriptor> private List
<DefinedType> private Boolean
private String
private Boolean
private Stateful
private List
<Relationship> private Boolean
private Boolean
private Boolean
private Boolean
private List
<SystemResourceConsideration> private Boolean
private Boolean
private Boolean
private String
private String
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDeprecationAlternativesItem
(String deprecationAlternativesItem) addDynamicPropertiesItem
(DynamicProperty dynamicPropertiesItem) addExplicitRestrictionsItem
(Restriction explicitRestrictionsItem) additionalDetails
(Boolean additionalDetails) addProvidedApiImplementationsItem
(DefinedType providedApiImplementationsItem) addReadsAttributesItem
(Attribute readsAttributesItem) addSeeAlsoItem
(String seeAlsoItem) addSupportedRelationshipsItem
(Relationship supportedRelationshipsItem) addSupportedSchedulingStrategiesItem
(String supportedSchedulingStrategiesItem) addSystemResourceConsiderationsItem
(SystemResourceConsideration systemResourceConsiderationsItem) addTagsItem
(String tagsItem) addWritesAttributesItem
(Attribute writesAttributesItem) defaultBulletinLevel
(String defaultBulletinLevel) defaultConcurrentTasksBySchedulingStrategy
(Map<String, Integer> defaultConcurrentTasksBySchedulingStrategy) defaultPenaltyDuration
(String defaultPenaltyDuration) defaultSchedulingPeriodBySchedulingStrategy
(Map<String, String> defaultSchedulingPeriodBySchedulingStrategy) defaultSchedulingStrategy
(String defaultSchedulingStrategy) defaultYieldDuration
(String defaultYieldDuration) deprecated
(Boolean deprecated) deprecationAlternatives
(List<String> deprecationAlternatives) deprecationReason
(String deprecationReason) dynamicProperties
(List<DynamicProperty> dynamicProperties) dynamicRelationship
(DynamicRelationship dynamicRelationship) boolean
explicitRestrictions
(List<Restriction> explicitRestrictions) The artifact name of the bundle that provides the referenced type.Get buildInfoThe default bulletin level, such as WARN, INFO, DEBUG, etc.The default concurrent tasks for each scheduling strategy.The default penalty duration as a time period, such as \"30 sec\".The default scheduling period for each scheduling strategy.The default scheduling strategy for the processor.The default yield duration as a time period, such as \"1 sec\".If this component has been deprecated, this optional field provides alternatives to useIf this component has been deprecated, this optional field can be used to provide an explanationDescribes the dynamic properties supported by this componentGet dynamicRelationshipExplicit restrictions that indicate a require permission to use the componentgetGroup()
The group name of the bundle that provides the referenced type.Any input requirements this processor has.Descriptions of configuration properties applicable to this component.If this type represents a provider for an interface, this lists the APIs it implementsThe FlowFile attributes this processor readsAn optional description of the general restrictionThe names of other component types that may be relatedGet statefulThe supported relationships for this processor.The supported scheduling strategies, such as TIME_DRIVER, CRON, or EVENT_DRIVEN.The system resource considerations for the given componentgetTags()
The tags associated with this typegetType()
The fully-qualified class typeThe description of the type.The version of the bundle that provides the referenced type.The FlowFile attributes this processor writes/updatesint
hashCode()
inputRequirement
(ProcessorDefinition.InputRequirementEnum inputRequirement) Indicates if the component has additional details documentationWhether or not the component has been deprecatedWhether or not this processor should be scheduled only on the primary node in a cluster.Whether or not the component has a general restrictionWhether or not this processor is considered side-effect free.Whether or not this processor supports batching.Whether or not this component makes use of dynamic (user-set) properties.Whether or not this processor supports dynamic relationships.Whether or not this component makes use of sensitive dynamic (user-set) properties.Whether or not this processor should be triggered serially (i.e.Whether or not this processor should be triggered when any destination queue has room.Whether or not this processor should be triggered when incoming queues are empty.primaryNodeOnly
(Boolean primaryNodeOnly) propertyDescriptors
(Map<String, PropertyDescriptor> propertyDescriptors) providedApiImplementations
(List<DefinedType> providedApiImplementations) putDefaultConcurrentTasksBySchedulingStrategyItem
(String key, Integer defaultConcurrentTasksBySchedulingStrategyItem) putDefaultSchedulingPeriodBySchedulingStrategyItem
(String key, String defaultSchedulingPeriodBySchedulingStrategyItem) putPropertyDescriptorsItem
(String key, PropertyDescriptor propertyDescriptorsItem) readsAttributes
(List<Attribute> readsAttributes) restricted
(Boolean restricted) restrictedExplanation
(String restrictedExplanation) void
setAdditionalDetails
(Boolean additionalDetails) void
setArtifact
(String artifact) void
setBuildInfo
(BuildInfo buildInfo) void
setDefaultBulletinLevel
(String defaultBulletinLevel) void
setDefaultConcurrentTasksBySchedulingStrategy
(Map<String, Integer> defaultConcurrentTasksBySchedulingStrategy) void
setDefaultPenaltyDuration
(String defaultPenaltyDuration) void
setDefaultSchedulingPeriodBySchedulingStrategy
(Map<String, String> defaultSchedulingPeriodBySchedulingStrategy) void
setDefaultSchedulingStrategy
(String defaultSchedulingStrategy) void
setDefaultYieldDuration
(String defaultYieldDuration) void
setDeprecated
(Boolean deprecated) void
setDeprecationAlternatives
(List<String> deprecationAlternatives) void
setDeprecationReason
(String deprecationReason) void
setDynamicProperties
(List<DynamicProperty> dynamicProperties) void
setDynamicRelationship
(DynamicRelationship dynamicRelationship) void
setExplicitRestrictions
(List<Restriction> explicitRestrictions) void
void
setInputRequirement
(ProcessorDefinition.InputRequirementEnum inputRequirement) void
setPrimaryNodeOnly
(Boolean primaryNodeOnly) void
setPropertyDescriptors
(Map<String, PropertyDescriptor> propertyDescriptors) void
setProvidedApiImplementations
(List<DefinedType> providedApiImplementations) void
setReadsAttributes
(List<Attribute> readsAttributes) void
setRestricted
(Boolean restricted) void
setRestrictedExplanation
(String restrictedExplanation) void
setSeeAlso
(List<String> seeAlso) void
setSideEffectFree
(Boolean sideEffectFree) void
setStateful
(Stateful stateful) void
setSupportedRelationships
(List<Relationship> supportedRelationships) void
setSupportedSchedulingStrategies
(List<String> supportedSchedulingStrategies) void
setSupportsBatching
(Boolean supportsBatching) void
setSupportsDynamicProperties
(Boolean supportsDynamicProperties) void
setSupportsDynamicRelationships
(Boolean supportsDynamicRelationships) void
setSupportsSensitiveDynamicProperties
(Boolean supportsSensitiveDynamicProperties) void
setSystemResourceConsiderations
(List<SystemResourceConsideration> systemResourceConsiderations) void
void
setTriggerSerially
(Boolean triggerSerially) void
setTriggerWhenAnyDestinationAvailable
(Boolean triggerWhenAnyDestinationAvailable) void
setTriggerWhenEmpty
(Boolean triggerWhenEmpty) void
void
setTypeDescription
(String typeDescription) void
setVersion
(String version) void
setWritesAttributes
(List<Attribute> writesAttributes) sideEffectFree
(Boolean sideEffectFree) supportedRelationships
(List<Relationship> supportedRelationships) supportedSchedulingStrategies
(List<String> supportedSchedulingStrategies) supportsBatching
(Boolean supportsBatching) supportsDynamicProperties
(Boolean supportsDynamicProperties) supportsDynamicRelationships
(Boolean supportsDynamicRelationships) supportsSensitiveDynamicProperties
(Boolean supportsSensitiveDynamicProperties) systemResourceConsiderations
(List<SystemResourceConsideration> systemResourceConsiderations) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
triggerSerially
(Boolean triggerSerially) triggerWhenAnyDestinationAvailable
(Boolean triggerWhenAnyDestinationAvailable) triggerWhenEmpty
(Boolean triggerWhenEmpty) typeDescription
(String typeDescription) writesAttributes
(List<Attribute> writesAttributes)
-
Field Details
-
group
-
artifact
-
version
-
type
-
typeDescription
-
buildInfo
-
providedApiImplementations
-
tags
-
seeAlso
-
deprecated
-
deprecationReason
-
deprecationAlternatives
-
restricted
-
restrictedExplanation
-
explicitRestrictions
-
stateful
-
systemResourceConsiderations
-
additionalDetails
-
propertyDescriptors
-
supportsDynamicProperties
-
supportsSensitiveDynamicProperties
-
dynamicProperties
-
inputRequirement
-
supportedRelationships
-
supportsDynamicRelationships
-
dynamicRelationship
-
triggerSerially
-
triggerWhenEmpty
-
triggerWhenAnyDestinationAvailable
-
supportsBatching
-
-
sideEffectFree
-
supportedSchedulingStrategies
-
defaultSchedulingStrategy
-
defaultConcurrentTasksBySchedulingStrategy
-
defaultSchedulingPeriodBySchedulingStrategy
-
defaultPenaltyDuration
-
defaultYieldDuration
-
defaultBulletinLevel
-
readsAttributes
-
writesAttributes
-
-
Constructor Details
-
ProcessorDefinition
public ProcessorDefinition()
-
-
Method Details
-
group
-
getGroup
The group name of the bundle that provides the referenced type.- Returns:
- group
-
setGroup
-
artifact
-
getArtifact
The artifact name of the bundle that provides the referenced type.- Returns:
- artifact
-
setArtifact
-
version
-
getVersion
The version of the bundle that provides the referenced type.- Returns:
- version
-
setVersion
-
type
-
getType
The fully-qualified class type- Returns:
- type
-
setType
-
typeDescription
-
getTypeDescription
The description of the type.- Returns:
- typeDescription
-
setTypeDescription
-
buildInfo
-
getBuildInfo
Get buildInfo- Returns:
- buildInfo
-
setBuildInfo
-
providedApiImplementations
-
addProvidedApiImplementationsItem
public ProcessorDefinition addProvidedApiImplementationsItem(DefinedType providedApiImplementationsItem) -
getProvidedApiImplementations
If this type represents a provider for an interface, this lists the APIs it implements- Returns:
- providedApiImplementations
-
setProvidedApiImplementations
-
tags
-
addTagsItem
-
getTags
The tags associated with this type- Returns:
- tags
-
setTags
-
seeAlso
-
addSeeAlsoItem
-
getSeeAlso
The names of other component types that may be related- Returns:
- seeAlso
-
setSeeAlso
-
deprecated
-
isDeprecated
Whether or not the component has been deprecated- Returns:
- deprecated
-
setDeprecated
-
deprecationReason
-
getDeprecationReason
If this component has been deprecated, this optional field can be used to provide an explanation- Returns:
- deprecationReason
-
setDeprecationReason
-
deprecationAlternatives
-
addDeprecationAlternativesItem
-
getDeprecationAlternatives
If this component has been deprecated, this optional field provides alternatives to use- Returns:
- deprecationAlternatives
-
setDeprecationAlternatives
-
restricted
-
isRestricted
Whether or not the component has a general restriction- Returns:
- restricted
-
setRestricted
-
restrictedExplanation
-
getRestrictedExplanation
An optional description of the general restriction- Returns:
- restrictedExplanation
-
setRestrictedExplanation
-
explicitRestrictions
-
addExplicitRestrictionsItem
-
getExplicitRestrictions
Explicit restrictions that indicate a require permission to use the component- Returns:
- explicitRestrictions
-
setExplicitRestrictions
-
stateful
-
getStateful
Get stateful- Returns:
- stateful
-
setStateful
-
systemResourceConsiderations
public ProcessorDefinition systemResourceConsiderations(List<SystemResourceConsideration> systemResourceConsiderations) -
addSystemResourceConsiderationsItem
public ProcessorDefinition addSystemResourceConsiderationsItem(SystemResourceConsideration systemResourceConsiderationsItem) -
getSystemResourceConsiderations
The system resource considerations for the given component- Returns:
- systemResourceConsiderations
-
setSystemResourceConsiderations
public void setSystemResourceConsiderations(List<SystemResourceConsideration> systemResourceConsiderations) -
additionalDetails
-
isAdditionalDetails
Indicates if the component has additional details documentation- Returns:
- additionalDetails
-
setAdditionalDetails
-
propertyDescriptors
-
putPropertyDescriptorsItem
public ProcessorDefinition putPropertyDescriptorsItem(String key, PropertyDescriptor propertyDescriptorsItem) -
getPropertyDescriptors
Descriptions of configuration properties applicable to this component.- Returns:
- propertyDescriptors
-
setPropertyDescriptors
-
supportsDynamicProperties
-
isSupportsDynamicProperties
Whether or not this component makes use of dynamic (user-set) properties.- Returns:
- supportsDynamicProperties
-
setSupportsDynamicProperties
-
supportsSensitiveDynamicProperties
public ProcessorDefinition supportsSensitiveDynamicProperties(Boolean supportsSensitiveDynamicProperties) -
isSupportsSensitiveDynamicProperties
Whether or not this component makes use of sensitive dynamic (user-set) properties.- Returns:
- supportsSensitiveDynamicProperties
-
setSupportsSensitiveDynamicProperties
-
dynamicProperties
-
addDynamicPropertiesItem
-
getDynamicProperties
Describes the dynamic properties supported by this component- Returns:
- dynamicProperties
-
setDynamicProperties
-
inputRequirement
public ProcessorDefinition inputRequirement(ProcessorDefinition.InputRequirementEnum inputRequirement) -
getInputRequirement
Any input requirements this processor has.- Returns:
- inputRequirement
-
setInputRequirement
-
supportedRelationships
-
addSupportedRelationshipsItem
-
getSupportedRelationships
The supported relationships for this processor.- Returns:
- supportedRelationships
-
setSupportedRelationships
-
supportsDynamicRelationships
-
isSupportsDynamicRelationships
Whether or not this processor supports dynamic relationships.- Returns:
- supportsDynamicRelationships
-
setSupportsDynamicRelationships
-
dynamicRelationship
-
getDynamicRelationship
Get dynamicRelationship- Returns:
- dynamicRelationship
-
setDynamicRelationship
-
triggerSerially
-
isTriggerSerially
Whether or not this processor should be triggered serially (i.e. no concurrent execution).- Returns:
- triggerSerially
-
setTriggerSerially
-
triggerWhenEmpty
-
isTriggerWhenEmpty
Whether or not this processor should be triggered when incoming queues are empty.- Returns:
- triggerWhenEmpty
-
setTriggerWhenEmpty
-
triggerWhenAnyDestinationAvailable
public ProcessorDefinition triggerWhenAnyDestinationAvailable(Boolean triggerWhenAnyDestinationAvailable) -
isTriggerWhenAnyDestinationAvailable
Whether or not this processor should be triggered when any destination queue has room.- Returns:
- triggerWhenAnyDestinationAvailable
-
setTriggerWhenAnyDestinationAvailable
-
supportsBatching
-
isSupportsBatching
Whether or not this processor supports batching. If a Processor uses this annotation, it allows the Framework to batch calls to session commits, as well as allowing the Framework to return the same session multiple times.- Returns:
- supportsBatching
-
setSupportsBatching
-
primaryNodeOnly
-
isPrimaryNodeOnly
Whether or not this processor should be scheduled only on the primary node in a cluster.- Returns:
- primaryNodeOnly
-
setPrimaryNodeOnly
-
sideEffectFree
-
isSideEffectFree
Whether or not this processor is considered side-effect free. Side-effect free indicate that the processor's operations on FlowFiles can be safely repeated across process sessions.- Returns:
- sideEffectFree
-
setSideEffectFree
-
supportedSchedulingStrategies
public ProcessorDefinition supportedSchedulingStrategies(List<String> supportedSchedulingStrategies) -
addSupportedSchedulingStrategiesItem
public ProcessorDefinition addSupportedSchedulingStrategiesItem(String supportedSchedulingStrategiesItem) -
getSupportedSchedulingStrategies
The supported scheduling strategies, such as TIME_DRIVER, CRON, or EVENT_DRIVEN.- Returns:
- supportedSchedulingStrategies
-
setSupportedSchedulingStrategies
-
defaultSchedulingStrategy
-
getDefaultSchedulingStrategy
The default scheduling strategy for the processor.- Returns:
- defaultSchedulingStrategy
-
setDefaultSchedulingStrategy
-
defaultConcurrentTasksBySchedulingStrategy
public ProcessorDefinition defaultConcurrentTasksBySchedulingStrategy(Map<String, Integer> defaultConcurrentTasksBySchedulingStrategy) -
putDefaultConcurrentTasksBySchedulingStrategyItem
public ProcessorDefinition putDefaultConcurrentTasksBySchedulingStrategyItem(String key, Integer defaultConcurrentTasksBySchedulingStrategyItem) -
getDefaultConcurrentTasksBySchedulingStrategy
The default concurrent tasks for each scheduling strategy.- Returns:
- defaultConcurrentTasksBySchedulingStrategy
-
setDefaultConcurrentTasksBySchedulingStrategy
-
defaultSchedulingPeriodBySchedulingStrategy
public ProcessorDefinition defaultSchedulingPeriodBySchedulingStrategy(Map<String, String> defaultSchedulingPeriodBySchedulingStrategy) -
putDefaultSchedulingPeriodBySchedulingStrategyItem
public ProcessorDefinition putDefaultSchedulingPeriodBySchedulingStrategyItem(String key, String defaultSchedulingPeriodBySchedulingStrategyItem) -
getDefaultSchedulingPeriodBySchedulingStrategy
The default scheduling period for each scheduling strategy. The scheduling period is expected to be a time period, such as \"30 sec\".- Returns:
- defaultSchedulingPeriodBySchedulingStrategy
-
setDefaultSchedulingPeriodBySchedulingStrategy
-
defaultPenaltyDuration
-
getDefaultPenaltyDuration
The default penalty duration as a time period, such as \"30 sec\".- Returns:
- defaultPenaltyDuration
-
setDefaultPenaltyDuration
-
defaultYieldDuration
-
getDefaultYieldDuration
The default yield duration as a time period, such as \"1 sec\".- Returns:
- defaultYieldDuration
-
setDefaultYieldDuration
-
defaultBulletinLevel
-
getDefaultBulletinLevel
The default bulletin level, such as WARN, INFO, DEBUG, etc.- Returns:
- defaultBulletinLevel
-
setDefaultBulletinLevel
-
readsAttributes
-
addReadsAttributesItem
-
getReadsAttributes
The FlowFile attributes this processor reads- Returns:
- readsAttributes
-
setReadsAttributes
-
writesAttributes
-
addWritesAttributesItem
-
getWritesAttributes
The FlowFile attributes this processor writes/updates- Returns:
- writesAttributes
-
setWritesAttributes
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-