|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkEvent
This is sent to a WorkListener as the Work is processed by a WorkManager.
Field Summary | |
---|---|
static int |
WORK_ACCEPTED
Work has been accepted |
static int |
WORK_COMPLETED
Work has completed. |
static int |
WORK_REJECTED
Work has been rejected. |
static int |
WORK_STARTED
Work is currently running. |
Method Summary | |
---|---|
WorkException |
getException()
This returns the exception if any in the case of WORK_COMPLETED. |
int |
getType()
This returns WORK_ACCEPTED etc |
WorkItem |
getWorkItem()
This returns a WorkItem that represents the Work submitted to a WorkManager. |
Field Detail |
---|
static final int WORK_ACCEPTED
static final int WORK_REJECTED
static final int WORK_STARTED
static final int WORK_COMPLETED
Method Detail |
---|
int getType()
WorkItem getWorkItem()
WorkException getException()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |