Interface WorkItem
-
- All Known Implementing Classes:
WorkItemImpl
public interface WorkItem
This is a work manager API based on CommonJ.- Author:
- Torkel Dominique
- See Also:
WorkItem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Work
getResult()
int
getStatus()
-
-
-
Method Detail
-
getResult
Work getResult() throws WorkException
- Returns:
- the completed Work or null if the Work is not yet complete
- Throws:
WorkException
- if there is an exception during run then the exception is rethrown here- See Also:
WorkItem.getResult()
-
getStatus
int getStatus()
- Returns:
- one of the events specified on the WorkEvent interface
- See Also:
WorkItem.getStatus()
-
-