Class AsyncJobStatus
java.lang.Object
com.kingsrook.qqq.backend.core.actions.async.AsyncJobStatus
- All Implemented Interfaces:
Serializable
Object to track current status of an async job - e.g., its state, and some
messages from the backend like "x of y"
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for cancelRequestedGetter for caughtExceptionGetter for currentGetter for jobNameGetter for messagegetState()
Getter for stategetTotal()
Getter for totalvoid
setCancelRequested
(boolean cancelRequested) Setter for cancelRequestedvoid
setCaughtException
(Exception caughtException) Setter for caughtExceptionvoid
setCurrent
(Integer current) Setter for currentvoid
setJobName
(String jobName) Setter for jobNamevoid
setMessage
(String message) Setter for messagevoid
setState
(AsyncJobState state) Setter for statevoid
Setter for totaltoString()
withJobName
(String jobName) Fluent setter for jobName
-
Constructor Details
-
AsyncJobStatus
public AsyncJobStatus()
-
-
Method Details
-
toString
-
getState
Getter for state -
setState
Setter for state -
getMessage
Getter for message -
setMessage
Setter for message -
getCurrent
Getter for current -
setCurrent
Setter for current -
getTotal
Getter for total -
setTotal
Setter for total -
getCaughtException
Getter for caughtException -
setCaughtException
Setter for caughtException -
getCancelRequested
public boolean getCancelRequested()Getter for cancelRequested -
setCancelRequested
public void setCancelRequested(boolean cancelRequested) Setter for cancelRequested -
getJobName
Getter for jobName -
setJobName
Setter for jobName -
withJobName
Fluent setter for jobName
-