Class LongTaskStatusWithLinks
Same as LongTaskStatus but with `_links` property. Status keys: - `ERROR_UNKNOWN` - Generic error - `ERROR_LOCK_FAILED` - Could not get the lock on destination space - `ERROR_RELINK` - Error when relink pages/attachments - `ERROR_COPY_PAGE` - Error while copying 1 page - `WARN_RENAME_PAGE` - Warning page is rename during copy - `WARN_IGNORE_COPY_PERMISSION` - Warning could not copy permission - `WARN_IGNORE_COPY_ATTACHMENT` - Warning could not copy attachment - `WARN_IGNORE_DELETE_PAGE` - Warning ignoring delete of a non agreed on page - `STATUS_COPIED_PAGES` - Message total pages are copied - `STATUS_COPYING_PAGES` - Message copy pages - `STATUS_RELINK_PAGES` - Message relink pages/attachments - `STATUS_DELETING_PAGES` - Message delete pages - `STATUS_DELETED_PAGES` - Message total pages are deleted - `STATUS_MOVING_PAGES` - Message move pages - `WARN_IGNORE_VIEW_RESTRICTED` - Permission changed - view restricted - `WARN_IGNORE_EDIT_RESTRICTED` - Permission changed - edit restricted - `INITIALIZING_TASK` - Message when initializing task - `UNKNOWN_STATUS` - Message when status is unknown
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.LongTaskStatusWithLinks(String ari, String id, Name name, Long elapsedTime, Integer percentageComplete, Boolean successful, Boolean finished, List<Map<String, Object>> messages, Map<String, Object> additionalLinks, String status, List<Map<String, Object>> errors, AdditionalDetails7A6F26 additionalDetails) Constructs a validated instance ofLongTaskStatusWithLinks.Constructs a validated instance ofLongTaskStatusWithLinks. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalDetails.additionalDetails(AdditionalDetails7A6F26 additionalDetails) Fluent setter for additionalDetails.Fluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.ari()Fluent getter for ari.Fluent setter for ari.Fluent getter for elapsedTime.elapsedTime(Long elapsedTime) Fluent setter for elapsedTime.booleanerrors()Fluent getter for errors.Fluent setter for errors.finished()Fluent getter for finished.Fluent setter for finished.Gets the value of additionalDetails.Gets the value of additionalLinks.getAri()Gets the value of ari.Gets the value of elapsedTime.Gets the value of errors.Gets the value of finished.getId()Gets the value of id.Gets the value of messages.getName()Gets the value of name.Gets the value of percentageComplete.Gets the value of status.Gets the value of successful.inthashCode()id()Fluent getter for id.Fluent setter for id.messages()Fluent getter for messages.Fluent setter for messages.name()Fluent getter for name.Fluent setter for name.Fluent getter for percentageComplete.percentageComplete(Integer percentageComplete) Fluent setter for percentageComplete.voidsetAdditionalDetails(AdditionalDetails7A6F26 additionalDetails) Sets the value of additionalDetails.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidSets the value of ari.voidsetElapsedTime(Long elapsedTime) Sets the value of elapsedTime.voidSets the value of errors.voidsetFinished(Boolean finished) Sets the value of finished.voidSets the value of id.voidsetMessages(List<Map<String, Object>> messages) Sets the value of messages.voidSets the value of name.voidsetPercentageComplete(Integer percentageComplete) Sets the value of percentageComplete.voidSets the value of status.voidsetSuccessful(Boolean successful) Sets the value of successful.status()Fluent getter for status.Fluent setter for status.Fluent getter for successful.successful(Boolean successful) Fluent setter for successful.toString()
-
Field Details
-
ari
the ARI for the long task, based on its ID -
id
-
name
-
elapsedTime
-
percentageComplete
-
successful
-
finished
-
messages
-
additionalLinks
-
status
-
errors
-
additionalDetails
-
-
Constructor Details
-
LongTaskStatusWithLinks
Constructs a validated instance ofLongTaskStatusWithLinks.- Parameters:
spec- the specification to process
-
LongTaskStatusWithLinks
@Internal protected LongTaskStatusWithLinks()Protected no-args constructor for use by serialization frameworks. -
LongTaskStatusWithLinks
@Internal public LongTaskStatusWithLinks(String ari, String id, Name name, Long elapsedTime, Integer percentageComplete, Boolean successful, Boolean finished, List<Map<String, Object>> messages, Map<String, Object> additionalLinks, String status, List<Map<String, Object>> errors, AdditionalDetails7A6F26 additionalDetails) Constructs a validated instance ofLongTaskStatusWithLinks.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
LongTaskStatusWithLinks(Consumer)instead.- Parameters:
ari- the ARI for the long task, based on its IDid- idname- nameelapsedTime- elapsedTimepercentageComplete- percentageCompletesuccessful- successfulfinished- finishedmessages- messagesadditionalLinks- additionalLinksstatus- statuserrors- errorsadditionalDetails- additionalDetails
-
-
Method Details
-
ari
-
ari
Fluent setter for ari.the ARI for the long task, based on its ID
- Parameters:
ari- ari- Returns:
- this
-
getAri
Gets the value of ari.the ARI for the long task, based on its ID
- Returns:
- ari
-
setAri
Sets the value of ari.the ARI for the long task, based on its ID
- Parameters:
ari- ari
-
id
-
id
Fluent setter for id.- Parameters:
id- id- Returns:
- this
-
getId
-
setId
-
name
-
name
Fluent setter for name.- Parameters:
name- name- Returns:
- this
-
getName
-
setName
-
elapsedTime
-
elapsedTime
Fluent setter for elapsedTime.- Parameters:
elapsedTime- elapsedTime- Returns:
- this
-
getElapsedTime
-
setElapsedTime
Sets the value of elapsedTime.- Parameters:
elapsedTime- elapsedTime
-
percentageComplete
Fluent getter for percentageComplete.- Returns:
- percentageComplete
-
percentageComplete
Fluent setter for percentageComplete.- Parameters:
percentageComplete- percentageComplete- Returns:
- this
-
getPercentageComplete
Gets the value of percentageComplete.- Returns:
- percentageComplete
-
setPercentageComplete
Sets the value of percentageComplete.- Parameters:
percentageComplete- percentageComplete
-
successful
-
successful
Fluent setter for successful.- Parameters:
successful- successful- Returns:
- this
-
getSuccessful
-
setSuccessful
Sets the value of successful.- Parameters:
successful- successful
-
finished
-
finished
Fluent setter for finished.- Parameters:
finished- finished- Returns:
- this
-
getFinished
-
setFinished
Sets the value of finished.- Parameters:
finished- finished
-
messages
-
messages
Fluent setter for messages.- Parameters:
messages- messages- Returns:
- this
-
getMessages
-
setMessages
-
additionalLinks
-
additionalLinks
Fluent setter for additionalLinks.- Parameters:
additionalLinks- additionalLinks- Returns:
- this
-
getAdditionalLinks
-
setAdditionalLinks
-
status
-
status
Fluent setter for status.- Parameters:
status- status- Returns:
- this
-
getStatus
-
setStatus
-
errors
-
errors
Fluent setter for errors.- Parameters:
errors- errors- Returns:
- this
-
getErrors
-
setErrors
-
additionalDetails
Fluent getter for additionalDetails.- Returns:
- additionalDetails
-
additionalDetails
Fluent setter for additionalDetails.- Parameters:
additionalDetails- additionalDetails- Returns:
- this
-
getAdditionalDetails
Gets the value of additionalDetails.- Returns:
- additionalDetails
-
setAdditionalDetails
Sets the value of additionalDetails.- Parameters:
additionalDetails- additionalDetails
-
equals
-
hashCode
-
toString
-