public interface JobObserver
extends java.io.Serializable
UWSJob
.
It will be notified at each execution phase transition of the observer job.UWSJob
,
UWSJob.addObserver(JobObserver)
Modifier and Type | Method and Description |
---|---|
void |
update(UWSJob job,
ExecutionPhase oldPhase,
ExecutionPhase newPhase)
Used when one of the observed jobs notifies its observers of a modification of its execution phase.
|
void update(UWSJob job, ExecutionPhase oldPhase, ExecutionPhase newPhase) throws UWSException
job
- The observed jobs which notifies the observer.oldPhase
- The job phase before its modification.newPhase
- The job phase after its modification (the same value as UWSJob.getPhase()
).UWSException
- If there is an error during the call of this method.