public static class Management.TaskStatus extends Management.AcquisitionTimeBase implements Serializable
Management.queryTaskStatus(long, boolean, boolean)
for further information.Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
TaskStatus() |
TaskStatus(long taskId,
String description,
String owner,
int state,
String stateName,
long startTime,
long finishTime,
long expirationTime,
String statusSummary,
String statusDetail,
String[] newMessages,
String lastException) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Tests whether the supplied object is a
TaskStatus with
the same taskId is this one. |
String |
getDescription()
Return a description of this task
|
long |
getExpirationTime()
System time at which this task is scheduled to be stopped if it has
not finished yet.
|
long |
getFinishTime()
System time at which this task ended, whether normal or abnormally,
or zero if the task has not ended yet.
|
String |
getLastException()
The most recent
Exception thrown by this task. |
String[] |
getMessages()
Messages that have been posted by this task.
|
String |
getOwner()
Return the owner (hostname and/or username) of the initiator of this
task
|
long |
getStartTime()
System time at which this task was started, or zero if never started.
|
int |
getState()
Return the state code for this task.
|
String |
getStateString()
Return the name of the state this task is in.
|
String |
getStatusDetail()
A more detailed description of the current status of the task.
|
String |
getStatusSummary()
A short (under 40 character) readable String summarizing the current
status.
|
long |
getTaskId()
Return the unique taskID for this task
|
String |
toString() |
String |
toString(boolean details) |
getAcquisitionTime, setAcquisitionTime
public static final long serialVersionUID
public TaskStatus()
@ConstructorProperties(value={"taskId","description","owner","state","stateName","startTime","finishTime","expirationTime","statusSummary","statusDetail","newMessages","lastException"}) public TaskStatus(long taskId, String description, String owner, int state, String stateName, long startTime, long finishTime, long expirationTime, String statusSummary, String statusDetail, String[] newMessages, String lastException)
public long getTaskId()
public String getDescription()
public String getOwner()
public int getState()
public String getStateString()
public String getStatusSummary()
public String getStatusDetail()
public String[] getMessages()
public long getStartTime()
public long getFinishTime()
public long getExpirationTime()
public String getLastException()
Exception
thrown by this task.Exception
by this taskpublic String toString(boolean details)
Copyright © 2025 Open Identity Platform Community. All rights reserved.