Class GetLongtaskV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetLongtaskV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class GetLongtaskV1OperationSpec
extends Object
GetLongtaskV1
Returns information about all active long-running tasks (e.g. space export), such as how long each task has been running and the percentage of each task that has completed. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@Nullable Stringkey()The key of the tasks.The key of the tasks.@Nullable Integerlimit()The maximum number of tasks to return per page.The maximum number of tasks to return per page.@Nullable Integerstart()The starting index of the returned tasks.The starting index of the returned tasks.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetLongtaskV1OperationSpec
Constructs a validated instance ofGetLongtaskV1OperationSpec.- Parameters:
spec- the specification to process
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
key
The key of the tasks. -
start
The starting index of the returned tasks. -
limit
The maximum number of tasks to return per page. Note, this may be restricted by fixed system limits. -
key
The key of the tasks.- Returns:
this.
-
start
The starting index of the returned tasks.- Returns:
this.
-
limit
The maximum number of tasks to return per page. Note, this may be restricted by fixed system limits.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-