Nested Class Summary
Nested Classes
static enum
static interface
Method Summary
All Methods Instance Methods Abstract Methods
void
void
Explicitly mark this status as able to be cleaned up, even though it might not be complete.
Public exposure of Object.clone() in order to allow clients to easily capture current state.
void
long
long
long
If journal is enabled, we will store all statuses that have been set along with the time stamps
when they were set.
long
long
void
void
void
void
void
void
Creates a JSON object for parseable exposure of monitored tasks.
Creates a string map of internal details for extensible exposure of monitored tasks.
Method Details
getStatusJournal
If journal is enabled, we will store all statuses that have been set along with the time stamps
when they were set. This method will give you all the journals stored so far.
cleanup
Explicitly mark this status as able to be cleaned up, even though it might not be complete.
clone
Public exposure of Object.clone() in order to allow clients to easily capture current state.
Returns:
a copy of the object whose references will not change
toMap
Creates a string map of internal details for extensible exposure of monitored tasks.
Returns:
A Map containing information for this task.
Throws:
IOException
toJSON
Creates a JSON object for parseable exposure of monitored tasks.
Returns:
An encoded JSON object containing information for this task.
Throws:
IOException