Class SetRemovalTimeToHistoricProcessInstancesDto
java.lang.Object
org.camunda.community.rest.client.dto.SetRemovalTimeToHistoricProcessInstancesDto
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class SetRemovalTimeToHistoricProcessInstancesDto
extends Object
SetRemovalTimeToHistoricProcessInstancesDto
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabsoluteRemovalTime(OffsetDateTime absoluteRemovalTime) addHistoricProcessInstanceIdsItem(String historicProcessInstanceIdsItem) calculatedRemovalTime(Boolean calculatedRemovalTime) clearedRemovalTime(Boolean clearedRemovalTime) booleanThe date for which the instances shall be removed.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>The removal time is calculated based on the engine's configuration settings.org.openapitools.jackson.nullable.JsonNullable<Boolean>Sets the removal time to `null`.org.openapitools.jackson.nullable.JsonNullable<Boolean>Sets the removal time to all historic process instances in the hierarchy.org.openapitools.jackson.nullable.JsonNullable<Boolean>The id of the process instance.Get historicProcessInstanceQueryDefines the size of the chunks in which removal time updates are processed.org.openapitools.jackson.nullable.JsonNullable<Integer>Handles removal time updates in chunks, taking into account the defined size in `removalTimeUpdateChunkSize` in the process engine configuration.org.openapitools.jackson.nullable.JsonNullable<Boolean>inthashCode()hierarchical(Boolean hierarchical) historicProcessInstanceIds(List<String> historicProcessInstanceIds) historicProcessInstanceQuery(HistoricProcessInstanceQueryDto historicProcessInstanceQuery) voidsetAbsoluteRemovalTime(OffsetDateTime absoluteRemovalTime) voidsetAbsoluteRemovalTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> absoluteRemovalTime) voidsetCalculatedRemovalTime(Boolean calculatedRemovalTime) voidsetCalculatedRemovalTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> calculatedRemovalTime) voidsetClearedRemovalTime(Boolean clearedRemovalTime) voidsetClearedRemovalTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> clearedRemovalTime) voidsetHierarchical(Boolean hierarchical) voidsetHierarchical_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> hierarchical) voidsetHistoricProcessInstanceIds(List<String> historicProcessInstanceIds) voidsetHistoricProcessInstanceIds_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> historicProcessInstanceIds) voidsetHistoricProcessInstanceQuery(HistoricProcessInstanceQueryDto historicProcessInstanceQuery) voidsetUpdateChunkSize(Integer updateChunkSize) voidsetUpdateChunkSize_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> updateChunkSize) voidsetUpdateInChunks(Boolean updateInChunks) voidsetUpdateInChunks_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> updateInChunks) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.updateChunkSize(Integer updateChunkSize) updateInChunks(Boolean updateInChunks)
-
Field Details
-
JSON_PROPERTY_ABSOLUTE_REMOVAL_TIME
- See Also:
-
JSON_PROPERTY_CLEARED_REMOVAL_TIME
- See Also:
-
JSON_PROPERTY_CALCULATED_REMOVAL_TIME
- See Also:
-
JSON_PROPERTY_HISTORIC_PROCESS_INSTANCE_IDS
- See Also:
-
JSON_PROPERTY_HISTORIC_PROCESS_INSTANCE_QUERY
- See Also:
-
JSON_PROPERTY_HIERARCHICAL
- See Also:
-
JSON_PROPERTY_UPDATE_IN_CHUNKS
- See Also:
-
JSON_PROPERTY_UPDATE_CHUNK_SIZE
- See Also:
-
-
Constructor Details
-
SetRemovalTimeToHistoricProcessInstancesDto
public SetRemovalTimeToHistoricProcessInstancesDto()
-
-
Method Details
-
absoluteRemovalTime
public SetRemovalTimeToHistoricProcessInstancesDto absoluteRemovalTime(OffsetDateTime absoluteRemovalTime) -
getAbsoluteRemovalTime
The date for which the instances shall be removed. Value may not be `null`. **Note:** Cannot be set in conjunction with `clearedRemovalTime` or `calculatedRemovalTime`.- Returns:
- absoluteRemovalTime
-
getAbsoluteRemovalTime_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getAbsoluteRemovalTime_JsonNullable() -
setAbsoluteRemovalTime_JsonNullable
public void setAbsoluteRemovalTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> absoluteRemovalTime) -
setAbsoluteRemovalTime
-
clearedRemovalTime
-
getClearedRemovalTime
Sets the removal time to `null`. Value may only be `true`, as `false` is the default behavior. **Note:** Cannot be set in conjunction with `absoluteRemovalTime` or `calculatedRemovalTime`.- Returns:
- clearedRemovalTime
-
getClearedRemovalTime_JsonNullable
-
setClearedRemovalTime_JsonNullable
public void setClearedRemovalTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> clearedRemovalTime) -
setClearedRemovalTime
-
calculatedRemovalTime
public SetRemovalTimeToHistoricProcessInstancesDto calculatedRemovalTime(Boolean calculatedRemovalTime) -
getCalculatedRemovalTime
The removal time is calculated based on the engine's configuration settings. Value may only be `true`, as `false` is the default behavior. **Note:** Cannot be set in conjunction with `absoluteRemovalTime` or `clearedRemovalTime`.- Returns:
- calculatedRemovalTime
-
getCalculatedRemovalTime_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Boolean> getCalculatedRemovalTime_JsonNullable() -
setCalculatedRemovalTime_JsonNullable
public void setCalculatedRemovalTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> calculatedRemovalTime) -
setCalculatedRemovalTime
-
historicProcessInstanceIds
public SetRemovalTimeToHistoricProcessInstancesDto historicProcessInstanceIds(List<String> historicProcessInstanceIds) -
addHistoricProcessInstanceIdsItem
public SetRemovalTimeToHistoricProcessInstancesDto addHistoricProcessInstanceIdsItem(String historicProcessInstanceIdsItem) -
getHistoricProcessInstanceIds
The id of the process instance.- Returns:
- historicProcessInstanceIds
-
getHistoricProcessInstanceIds_JsonNullable
-
setHistoricProcessInstanceIds_JsonNullable
-
setHistoricProcessInstanceIds
-
historicProcessInstanceQuery
public SetRemovalTimeToHistoricProcessInstancesDto historicProcessInstanceQuery(HistoricProcessInstanceQueryDto historicProcessInstanceQuery) -
getHistoricProcessInstanceQuery
Get historicProcessInstanceQuery- Returns:
- historicProcessInstanceQuery
-
setHistoricProcessInstanceQuery
public void setHistoricProcessInstanceQuery(HistoricProcessInstanceQueryDto historicProcessInstanceQuery) -
hierarchical
-
getHierarchical
Sets the removal time to all historic process instances in the hierarchy. Value may only be `true`, as `false` is the default behavior.- Returns:
- hierarchical
-
getHierarchical_JsonNullable
-
setHierarchical_JsonNullable
public void setHierarchical_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> hierarchical) -
setHierarchical
-
updateInChunks
-
getUpdateInChunks
Handles removal time updates in chunks, taking into account the defined size in `removalTimeUpdateChunkSize` in the process engine configuration. The size of the chunks can also be overridden per call with the `updateChunkSize` parameter. Enabling this option can lead to multiple executions of the resulting jobs, preventing the database transaction from timing out by limiting the number of rows to update. Value may only be `true`, as `false` is the default behavior.- Returns:
- updateInChunks
-
getUpdateInChunks_JsonNullable
-
setUpdateInChunks_JsonNullable
public void setUpdateInChunks_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> updateInChunks) -
setUpdateInChunks
-
updateChunkSize
-
getUpdateChunkSize
Defines the size of the chunks in which removal time updates are processed. The value must be a positive integer between `1` and `500`. This only has an effect if `updateInChunks` is set to `true`. If undefined, the operation uses the `removalTimeUpdateChunkSize` defined in the process engine configuration.- Returns:
- updateChunkSize
-
getUpdateChunkSize_JsonNullable
-
setUpdateChunkSize_JsonNullable
public void setUpdateChunkSize_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> updateChunkSize) -
setUpdateChunkSize
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-