Package | Description |
---|---|
uws | |
uws.job | |
uws.job.manager | |
uws.job.serializer.filter | |
uws.service.wait |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
UWSExceptionFactory.incorrectPhaseTransition(java.lang.String jobID,
ExecutionPhase fromPhase,
ExecutionPhase toPhase) |
static java.lang.String |
UWSExceptionFactory.incorrectPhaseTransition(java.lang.String jobID,
ExecutionPhase fromPhase,
ExecutionPhase toPhase,
java.lang.String consequence) |
static java.lang.String |
UWSExceptionFactory.jobModificationForbidden(java.lang.String jobId,
ExecutionPhase phase,
java.lang.String parameter) |
static java.lang.String |
UWSExceptionFactory.jobModificationForbidden(java.lang.String jobId,
ExecutionPhase phase,
java.lang.String parameter,
java.lang.String consequence) |
Modifier and Type | Field and Description |
---|---|
protected ExecutionPhase |
JobPhase.phase
Current phase of the associated job.
|
Modifier and Type | Method and Description |
---|---|
ExecutionPhase |
JobPhase.getPhase()
Gets the current phase of the job.
|
ExecutionPhase |
UWSJob.getPhase()
Gets the phase in which this job is now.
|
static ExecutionPhase |
ExecutionPhase.getPhase(java.lang.String phStr)
Get the Execution Phase corresponding to the given label.
|
static ExecutionPhase |
ExecutionPhase.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionPhase[] |
ExecutionPhase.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ExecutionPhase.getStr(ExecutionPhase ph)
Get the label of the given Execution Phase.
|
void |
UWSJob.notifyObservers(ExecutionPhase oldPhase)
Notifies all the observer of this job that its phase has changed.
|
void |
JobPhase.setPhase(ExecutionPhase p)
Lets changing the current phase of the associated job considering the
order of execution phases.
|
void |
UWSJob.setPhase(ExecutionPhase p)
Sets the current phase of this job.
|
void |
JobPhase.setPhase(ExecutionPhase p,
boolean force)
Lets changing the current phase of the associated job considering or
not the order of execution phases.
|
void |
UWSJob.setPhase(ExecutionPhase p,
boolean force)
Sets the current phase of this job, respecting or not the imposed order.
|
void |
JobObserver.update(UWSJob job,
ExecutionPhase oldPhase,
ExecutionPhase newPhase)
Used when one of the observed jobs notifies its observers of a modification of its execution phase.
|
Modifier and Type | Method and Description |
---|---|
ExecutionPhase |
ExecutionManager.execute(UWSJob job)
Lets deciding whether the given job can start immediately or whether it must be put in the queue.
|
ExecutionPhase |
AbstractQueuedExecutionManager.execute(UWSJob jobToExecute)
Refreshes this manager and then put the given job into the queue (if
it is not already into it).
|
ExecutionPhase |
DefaultExecutionManager.execute(UWSJob jobToExecute) |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ExecutionPhase> |
PhasesFilter.phases
List of execution phases in which jobs to keep must be.
|
Modifier and Type | Method and Description |
---|---|
void |
PhasesFilter.add(ExecutionPhase phase)
Add the given phase in the list of accepted phases.
|
Constructor and Description |
---|
PhasesFilter(ExecutionPhase phase)
Build a
PhasesFilter which will retain only jobs in the given
execution phase. |
Modifier and Type | Method and Description |
---|---|
void |
WaitObserver.update(UWSJob job,
ExecutionPhase oldPhase,
ExecutionPhase newPhase) |