com.virtuosotechnologies.lib.asyncjob
Class AsyncJobCompletedEvent
java.lang.Object
java.util.EventObject
com.virtuosotechnologies.lib.asyncjob.AsyncJobEvent
com.virtuosotechnologies.lib.asyncjob.AsyncJobCompletedEvent
- All Implemented Interfaces:
- Serializable
- public class AsyncJobCompletedEvent
- extends AsyncJobEvent
An event sent to an AsyncJobListener when a job has finished
- See Also:
- Serialized Form
Method Summary |
Object |
getResult()
Get the result object returned from the job |
AsyncJobCompletedEvent
public AsyncJobCompletedEvent(AsyncJobRunner runner,
AsyncJob job,
Object result)
- Constructor
- Parameters:
runner
- AsyncJobRunner running the jobjob
- AsyncJob that just completedresult
- result object returned from the job
AsyncJobCompletedEvent
public AsyncJobCompletedEvent(AsyncJobExecution execution,
Object result)
- Constructor
- Parameters:
execution
- AsyncJobExecution broadcasting the eventresult
- result object returned from the job
getResult
public final Object getResult()
- Get the result object returned from the job
- Returns:
- the result object