Class ReportingTaskDTO
java.lang.Object
org.apache.nifi.api.toolkit.model.ReportingTaskDTO
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class ReportingTaskDTO
extends Object
ReportingTaskDTO
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The state of the reporting task.static enum
Indicates whether the Reporting Task is valid, invalid, or still in the process of validating (i.e., it is unknown whether or not the Reporting Task is valid) -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Integer
private String
private BundleDTO
private String
private String
private Boolean
private Map
<String, PropertyDescriptorDTO> private Boolean
private String
private Boolean
private String
private String
private Boolean
private PositionDTO
private Boolean
private String
private String
private ReportingTaskDTO.StateEnum
private Boolean
private String
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveThreadCount
(Integer activeThreadCount) addSensitiveDynamicPropertyNamesItem
(String sensitiveDynamicPropertyNamesItem) addValidationErrorsItem
(String validationErrorsItem) annotationData
(String annotationData) customUiUrl
(String customUiUrl) defaultSchedulingPeriod
(Map<String, String> defaultSchedulingPeriod) deprecated
(Boolean deprecated) descriptors
(Map<String, PropertyDescriptorDTO> descriptors) boolean
extensionMissing
(Boolean extensionMissing) The number of active threads for the reporting task.The annotation data for the repoting task.Get bundleThe comments of the reporting task.The URL for the custom configuration UI for the reporting task.The default scheduling period for the different scheduling strategies.The descriptors for the reporting tasks properties.getId()
The id of the component.getName()
The name of the reporting task.The id of parent process group of this component if applicable.Get positionThe properties of the reporting task.The frequency with which to schedule the reporting task.The scheduling strategy that determines how the schedulingPeriod value should be interpreted.Set of sensitive dynamic property namesgetState()
The state of the reporting task.getType()
The fully qualified type of the reporting task.Gets the validation errors from the reporting task.Indicates whether the Reporting Task is valid, invalid, or still in the process of validating (i.e., it is unknown whether or not the Reporting Task is valid)The ID of the corresponding component that is under version controlint
hashCode()
Whether the reporting task has been deprecated.Whether the underlying extension is missing.Whether the reporting task has multiple versions available.Whether the reporting task persists state.Whether the reporting task requires elevated privileges.Whether the reporting task supports sensitive dynamic properties.multipleVersionsAvailable
(Boolean multipleVersionsAvailable) parentGroupId
(String parentGroupId) persistsState
(Boolean persistsState) position
(PositionDTO position) properties
(Map<String, String> properties) putDefaultSchedulingPeriodItem
(String key, String defaultSchedulingPeriodItem) putDescriptorsItem
(String key, PropertyDescriptorDTO descriptorsItem) putPropertiesItem
(String key, String propertiesItem) restricted
(Boolean restricted) schedulingPeriod
(String schedulingPeriod) schedulingStrategy
(String schedulingStrategy) sensitiveDynamicPropertyNames
(List<String> sensitiveDynamicPropertyNames) void
setActiveThreadCount
(Integer activeThreadCount) void
setAnnotationData
(String annotationData) void
void
setComments
(String comments) void
setCustomUiUrl
(String customUiUrl) void
setDefaultSchedulingPeriod
(Map<String, String> defaultSchedulingPeriod) void
setDeprecated
(Boolean deprecated) void
setDescriptors
(Map<String, PropertyDescriptorDTO> descriptors) void
setExtensionMissing
(Boolean extensionMissing) void
void
setMultipleVersionsAvailable
(Boolean multipleVersionsAvailable) void
void
setParentGroupId
(String parentGroupId) void
setPersistsState
(Boolean persistsState) void
setPosition
(PositionDTO position) void
setProperties
(Map<String, String> properties) void
setRestricted
(Boolean restricted) void
setSchedulingPeriod
(String schedulingPeriod) void
setSchedulingStrategy
(String schedulingStrategy) void
setSensitiveDynamicPropertyNames
(List<String> sensitiveDynamicPropertyNames) void
void
setSupportsSensitiveDynamicProperties
(Boolean supportsSensitiveDynamicProperties) void
void
setValidationErrors
(List<String> validationErrors) void
setVersionedComponentId
(String versionedComponentId) state
(ReportingTaskDTO.StateEnum state) supportsSensitiveDynamicProperties
(Boolean supportsSensitiveDynamicProperties) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
validationErrors
(List<String> validationErrors) versionedComponentId
(String versionedComponentId)
-
Field Details
-
id
-
versionedComponentId
-
parentGroupId
-
position
-
name
-
type
-
bundle
-
state
-
comments
-
persistsState
-
restricted
-
deprecated
-
multipleVersionsAvailable
-
supportsSensitiveDynamicProperties
-
schedulingPeriod
-
schedulingStrategy
-
defaultSchedulingPeriod
-
properties
-
descriptors
-
sensitiveDynamicPropertyNames
-
customUiUrl
-
annotationData
-
validationErrors
-
validationStatus
-
activeThreadCount
-
extensionMissing
-
-
Constructor Details
-
ReportingTaskDTO
public ReportingTaskDTO()
-
-
Method Details
-
id
-
getId
The id of the component.- Returns:
- id
-
setId
-
versionedComponentId
-
getVersionedComponentId
The ID of the corresponding component that is under version control- Returns:
- versionedComponentId
-
setVersionedComponentId
-
parentGroupId
-
getParentGroupId
The id of parent process group of this component if applicable.- Returns:
- parentGroupId
-
setParentGroupId
-
position
-
getPosition
Get position- Returns:
- position
-
setPosition
-
name
-
getName
The name of the reporting task.- Returns:
- name
-
setName
-
type
-
getType
The fully qualified type of the reporting task.- Returns:
- type
-
setType
-
bundle
-
getBundle
Get bundle- Returns:
- bundle
-
setBundle
-
state
-
getState
The state of the reporting task.- Returns:
- state
-
setState
-
comments
-
getComments
The comments of the reporting task.- Returns:
- comments
-
setComments
-
persistsState
-
isPersistsState
Whether the reporting task persists state.- Returns:
- persistsState
-
setPersistsState
-
restricted
-
isRestricted
Whether the reporting task requires elevated privileges.- Returns:
- restricted
-
setRestricted
-
deprecated
-
isDeprecated
Whether the reporting task has been deprecated.- Returns:
- deprecated
-
setDeprecated
-
multipleVersionsAvailable
-
isMultipleVersionsAvailable
Whether the reporting task has multiple versions available.- Returns:
- multipleVersionsAvailable
-
setMultipleVersionsAvailable
-
supportsSensitiveDynamicProperties
public ReportingTaskDTO supportsSensitiveDynamicProperties(Boolean supportsSensitiveDynamicProperties) -
isSupportsSensitiveDynamicProperties
Whether the reporting task supports sensitive dynamic properties.- Returns:
- supportsSensitiveDynamicProperties
-
setSupportsSensitiveDynamicProperties
-
schedulingPeriod
-
getSchedulingPeriod
The frequency with which to schedule the reporting task. The format of the value will depend on the value of the schedulingStrategy.- Returns:
- schedulingPeriod
-
setSchedulingPeriod
-
schedulingStrategy
-
getSchedulingStrategy
The scheduling strategy that determines how the schedulingPeriod value should be interpreted.- Returns:
- schedulingStrategy
-
setSchedulingStrategy
-
defaultSchedulingPeriod
-
putDefaultSchedulingPeriodItem
public ReportingTaskDTO putDefaultSchedulingPeriodItem(String key, String defaultSchedulingPeriodItem) -
getDefaultSchedulingPeriod
The default scheduling period for the different scheduling strategies.- Returns:
- defaultSchedulingPeriod
-
setDefaultSchedulingPeriod
-
properties
-
putPropertiesItem
-
getProperties
The properties of the reporting task.- Returns:
- properties
-
setProperties
-
descriptors
-
putDescriptorsItem
-
getDescriptors
The descriptors for the reporting tasks properties.- Returns:
- descriptors
-
setDescriptors
-
sensitiveDynamicPropertyNames
-
addSensitiveDynamicPropertyNamesItem
public ReportingTaskDTO addSensitiveDynamicPropertyNamesItem(String sensitiveDynamicPropertyNamesItem) -
getSensitiveDynamicPropertyNames
Set of sensitive dynamic property names- Returns:
- sensitiveDynamicPropertyNames
-
setSensitiveDynamicPropertyNames
-
customUiUrl
-
getCustomUiUrl
The URL for the custom configuration UI for the reporting task.- Returns:
- customUiUrl
-
setCustomUiUrl
-
annotationData
-
getAnnotationData
The annotation data for the repoting task. This is how the custom UI relays configuration to the reporting task.- Returns:
- annotationData
-
setAnnotationData
-
validationErrors
-
addValidationErrorsItem
-
getValidationErrors
Gets the validation errors from the reporting task. These validation errors represent the problems with the reporting task that must be resolved before it can be scheduled to run.- Returns:
- validationErrors
-
setValidationErrors
-
getValidationStatus
Indicates whether the Reporting Task is valid, invalid, or still in the process of validating (i.e., it is unknown whether or not the Reporting Task is valid)- Returns:
- validationStatus
-
activeThreadCount
-
getActiveThreadCount
The number of active threads for the reporting task.- Returns:
- activeThreadCount
-
setActiveThreadCount
-
extensionMissing
-
isExtensionMissing
Whether the underlying extension is missing.- Returns:
- extensionMissing
-
setExtensionMissing
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-