Package com.influxdb.client.domain
Class TaskUpdateRequest
java.lang.Object
com.influxdb.client.domain.TaskUpdateRequest
TaskUpdateRequest
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) boolean
getCron()
Override the 'cron' option in the flux script.An optional description of the task.getEvery()
Override the 'every' option in the flux script.getFlux()
The Flux script to run for this task.getName()
Override the 'name' option in the flux script.Override the 'offset' option in the flux script.Get statusint
hashCode()
void
void
setDescription
(String description) void
void
void
void
void
setStatus
(TaskStatusType status) status
(TaskStatusType status) toString()
-
Field Details
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_FLUX
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_EVERY
- See Also:
-
SERIALIZED_NAME_CRON
- See Also:
-
SERIALIZED_NAME_OFFSET
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
-
Constructor Details
-
TaskUpdateRequest
public TaskUpdateRequest()
-
-
Method Details
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
flux
-
getFlux
The Flux script to run for this task.- Returns:
- flux
-
setFlux
-
name
-
getName
Override the 'name' option in the flux script.- Returns:
- name
-
setName
-
every
-
getEvery
Override the 'every' option in the flux script.- Returns:
- every
-
setEvery
-
cron
-
getCron
Override the 'cron' option in the flux script.- Returns:
- cron
-
setCron
-
offset
-
getOffset
Override the 'offset' option in the flux script.- Returns:
- offset
-
setOffset
-
description
-
getDescription
An optional description of the task.- Returns:
- description
-
setDescription
-
equals
-
hashCode
public int hashCode() -
toString
-