org.globus.wsrf.impl.work
Class WorkEventImpl
java.lang.Object
org.globus.wsrf.impl.work.WorkEventImpl
- All Implemented Interfaces:
- commonj.work.WorkEvent
- public class WorkEventImpl
- extends java.lang.Object
- implements commonj.work.WorkEvent
|
Field Summary |
private commonj.work.WorkException |
exception
|
private int |
type
|
private commonj.work.Work |
work
|
| Fields inherited from interface commonj.work.WorkEvent |
WORK_ACCEPTED, WORK_COMPLETED, WORK_REJECTED, WORK_STARTED |
|
Constructor Summary |
WorkEventImpl(int type,
commonj.work.Work work)
|
WorkEventImpl(commonj.work.WorkException exception,
int type,
commonj.work.Work work)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exception
private commonj.work.WorkException exception
type
private int type
work
private commonj.work.Work work
WorkEventImpl
public WorkEventImpl(int type,
commonj.work.Work work)
- Parameters:
type - work -
WorkEventImpl
public WorkEventImpl(commonj.work.WorkException exception,
int type,
commonj.work.Work work)
- Parameters:
exception - type - work -
getException
public commonj.work.WorkException getException()
- Specified by:
getException in interface commonj.work.WorkEvent
getType
public int getType()
- Specified by:
getType in interface commonj.work.WorkEvent
getWork
public commonj.work.Work getWork()
- Specified by:
getWork in interface commonj.work.WorkEvent