Class TaskProgressBeanObject
java.lang.Object
io.github.primelib.jira4j.restv2.model.TaskProgressBeanObject
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class TaskProgressBeanObject
extends Object
TaskProgressBeanObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The status of the task.static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The description of the task.protected Long
The execution time of the task, in milliseconds.protected Long
A timestamp recording when the task was finished.protected String
The ID of the task.protected Long
A timestamp recording when the task progress was last updated.protected String
Information about the progress of the task.protected Long
The progress of the task, as a percentage complete.protected Object
The result of the task execution.protected URI
The URL of the task.protected Long
A timestamp recording when the task was started.protected TaskProgressBeanObject.StatusEnum
The status of the task.protected Long
A timestamp recording when the task was submitted.protected Long
The ID of the user who submitted the task. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TaskProgressBeanObject
(String description, Long elapsedRuntime, Long finished, String id, Long lastUpdate, String message, Long progress, Object result, URI self, Long started, TaskProgressBeanObject.StatusEnum status, Long submitted, Long submittedBy) Constructs a validated instance ofTaskProgressBeanObject
.Constructs a validated instance ofTaskProgressBeanObject
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
The description of the task.description
(String description) The description of the task.The execution time of the task, in milliseconds.elapsedRuntime
(Long elapsedRuntime) The execution time of the task, in milliseconds.boolean
finished()
A timestamp recording when the task was finished.A timestamp recording when the task was finished.int
hashCode()
id()
The ID of the task.The ID of the task.A timestamp recording when the task progress was last updated.lastUpdate
(Long lastUpdate) A timestamp recording when the task progress was last updated.message()
Information about the progress of the task.Information about the progress of the task.progress()
The progress of the task, as a percentage complete.The progress of the task, as a percentage complete.result()
The result of the task execution.The result of the task execution.self()
The URL of the task.The URL of the task.started()
A timestamp recording when the task was started.A timestamp recording when the task was started.status()
The status of the task.The status of the task.A timestamp recording when the task was submitted.A timestamp recording when the task was submitted.The ID of the user who submitted the task.submittedBy
(Long submittedBy) The ID of the user who submitted the task.toString()
-
Field Details
-
description
The description of the task. -
elapsedRuntime
The execution time of the task, in milliseconds. -
finished
A timestamp recording when the task was finished. -
id
The ID of the task. -
lastUpdate
A timestamp recording when the task progress was last updated. -
message
Information about the progress of the task. -
progress
The progress of the task, as a percentage complete. -
result
The result of the task execution. -
self
The URL of the task. -
started
A timestamp recording when the task was started. -
status
The status of the task. -
submitted
A timestamp recording when the task was submitted. -
submittedBy
The ID of the user who submitted the task.
-
-
Constructor Details
-
TaskProgressBeanObject
Constructs a validated instance ofTaskProgressBeanObject
.- Parameters:
spec
- the specification to process
-
TaskProgressBeanObject
@Internal public TaskProgressBeanObject(String description, Long elapsedRuntime, Long finished, String id, Long lastUpdate, String message, Long progress, Object result, URI self, Long started, TaskProgressBeanObject.StatusEnum status, Long submitted, Long submittedBy) Constructs a validated instance ofTaskProgressBeanObject
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
TaskProgressBeanObject(Consumer)
instead.- Parameters:
description
- The description of the task.elapsedRuntime
- The execution time of the task, in milliseconds.finished
- A timestamp recording when the task was finished.id
- The ID of the task.lastUpdate
- A timestamp recording when the task progress was last updated.message
- Information about the progress of the task.progress
- The progress of the task, as a percentage complete.result
- The result of the task execution.self
- The URL of the task.started
- A timestamp recording when the task was started.status
- The status of the task.submitted
- A timestamp recording when the task was submitted.submittedBy
- The ID of the user who submitted the task.
-
TaskProgressBeanObject
protected TaskProgressBeanObject()
-
-
Method Details
-
builder
-
description
The description of the task. -
elapsedRuntime
The execution time of the task, in milliseconds. -
finished
A timestamp recording when the task was finished. -
id
The ID of the task. -
lastUpdate
A timestamp recording when the task progress was last updated. -
message
Information about the progress of the task. -
progress
The progress of the task, as a percentage complete. -
result
The result of the task execution. -
self
The URL of the task. -
started
A timestamp recording when the task was started. -
status
The status of the task. -
submitted
A timestamp recording when the task was submitted. -
submittedBy
The ID of the user who submitted the task. -
description
The description of the task.- Returns:
this
.
-
elapsedRuntime
The execution time of the task, in milliseconds.- Returns:
this
.
-
finished
A timestamp recording when the task was finished.- Returns:
this
.
-
id
The ID of the task.- Returns:
this
.
-
lastUpdate
A timestamp recording when the task progress was last updated.- Returns:
this
.
-
message
Information about the progress of the task.- Returns:
this
.
-
progress
The progress of the task, as a percentage complete.- Returns:
this
.
-
result
The result of the task execution.- Returns:
this
.
-
self
The URL of the task.- Returns:
this
.
-
started
A timestamp recording when the task was started.- Returns:
this
.
-
status
The status of the task.- Returns:
this
.
-
submitted
A timestamp recording when the task was submitted.- Returns:
this
.
-
submittedBy
The ID of the user who submitted the task.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-