public class TaskCounts extends Object
Constructor and Description |
---|
TaskCounts() |
Modifier and Type | Method and Description |
---|---|
int |
active()
Get the active value.
|
int |
completed()
Get the completed value.
|
int |
failed()
Get the failed value.
|
int |
running()
Get the running value.
|
int |
succeeded()
Get the succeeded value.
|
TaskCountValidationStatus |
validationStatus()
Get the validationStatus value.
|
TaskCounts |
withActive(int active)
Set the active value.
|
TaskCounts |
withCompleted(int completed)
Set the completed value.
|
TaskCounts |
withFailed(int failed)
Set the failed value.
|
TaskCounts |
withRunning(int running)
Set the running value.
|
TaskCounts |
withSucceeded(int succeeded)
Set the succeeded value.
|
TaskCounts |
withValidationStatus(TaskCountValidationStatus validationStatus)
Set the validationStatus value.
|
public int active()
public TaskCounts withActive(int active)
active
- the active value to setpublic int running()
public TaskCounts withRunning(int running)
running
- the running value to setpublic int completed()
public TaskCounts withCompleted(int completed)
completed
- the completed value to setpublic int succeeded()
public TaskCounts withSucceeded(int succeeded)
succeeded
- the succeeded value to setpublic int failed()
public TaskCounts withFailed(int failed)
failed
- the failed value to setpublic TaskCountValidationStatus validationStatus()
public TaskCounts withValidationStatus(TaskCountValidationStatus validationStatus)
validationStatus
- the validationStatus value to setCopyright © 2019. All rights reserved.