Interface WorkEvent

All Known Implementing Classes:
WorkEventImpl

public interface WorkEvent
This is a work manager API based on CommonJ.
Author:
Torkel Dominique
See Also:
  • WorkEvent
  • Field Details

  • Method Details

    • getException

      WorkException getException()
      Returns:
      the WorkException thrown if a Work completed with exception. Null if there is no exception
      See Also:
      • WorkEvent.getException()
    • getType

      int getType()
      Returns:
      one of the event constants that indicate the type of event this WorkEvent represents
      See Also:
      • WorkEvent.getType()
    • getWorkItem

      WorkItem getWorkItem()
      Returns:
      the WorkItem that this WorkEvent is for
      See Also:
      • WorkEvent.getWorkItem()