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
ConstructorsModifierConstructorDescriptionprotectedLongTaskStatusWithLinks(String ari, String id, Name name, Long elapsedTime, Integer percentageComplete, Boolean successful, Boolean finished, List<Map<String, Object>> messages, Map<String, Object> Links, String status, List<Map<String, Object>> errors, AdditionalDetails7A6F26 additionalDetails) Constructs a validated instance ofLongTaskStatusWithLinks.Constructs a validated instance ofLongTaskStatusWithLinks. -
Method Summary
Modifier and TypeMethodDescriptionadditionalDetails(AdditionalDetails7A6F26 additionalDetails) ari()the ARI for the long task, based on its IDthe ARI for the long task, based on its IDprotected booleanelapsedTime(Long elapsedTime) booleanerrors()finished()inthashCode()id()Links()messages()name()percentageComplete(Integer percentageComplete) status()successful(Boolean successful) toString()
-
Field Details
-
ari
the ARI for the long task, based on its ID -
id
-
name
-
elapsedTime
-
percentageComplete
-
successful
-
finished
-
messages
-
Links
-
status
-
errors
-
additionalDetails
-
-
Constructor Details
-
LongTaskStatusWithLinks
Constructs a validated instance ofLongTaskStatusWithLinks.- Parameters:
spec- the specification to process
-
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> Links, 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- messagesLinks- Linksstatus- statuserrors- errorsadditionalDetails- additionalDetails
-
LongTaskStatusWithLinks
protected LongTaskStatusWithLinks()
-
-
Method Details
-
ari
the ARI for the long task, based on its ID -
id
-
name
-
elapsedTime
-
percentageComplete
-
successful
-
finished
-
messages
-
Links
-
status
-
errors
-
additionalDetails
-
ari
the ARI for the long task, based on its ID- Returns:
this.
-
id
- Returns:
this.
-
name
- Returns:
this.
-
elapsedTime
- Returns:
this.
-
percentageComplete
- Returns:
this.
-
successful
- Returns:
this.
-
finished
- Returns:
this.
-
messages
- Returns:
this.
-
Links
- Returns:
this.
-
status
- Returns:
this.
-
errors
- Returns:
this.
-
additionalDetails
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-