- getId
The work id. The id is used for equality comparisons, and as a key in persistent
queues.
- getWorkInstanceState
CALLED BY THE WORK MANAGER (not user code) to get this work instance's state.
Used only to get the
- cleanUp
This method is called after #work is done, in a finally block, whether work
completed normally or wa
- getCategory
Gets the category for this work. Used to choose an execution queue.
- getCompletionTime
Gets the time at which this work instance was completed, suspended or failed.
- getPartitionKey
Returns a key that can be used by the WorkManager implementation to guarantee
that works with the sa
- getSchedulePath
Returns the schedule path
- getStartTime
Gets the time at which this work instance was first started.
- getTitle
Gets a human-readable name for this work instance.
- isCoalescing
When setting the coalescing flag to true you indicate to the work manager that
if multiple works wit
- isIdempotent
Returns true if a work with a given #getId() should always produce the same
result. The WorkManager
- isSuspending
Checks if a suspend has been requested for this work instance by the work
manager. If true, then sta