public class CleanupJob extends HandlerLifecycleJob
ExecutionScriptHandler.handler| Constructor and Description |
|---|
CleanupJob(ExecutionScriptHandler<?> handler)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ExecutionMonitor monitor,
ExecutionContext context)
Executes this job.
|
String |
getJobLabel()
Returns the target job label.
|
String |
getServiceLabel()
Returns the service label which actually executes this job.
|
getBlockerIds, getId, getResourceId, getTrackingIdcomputeTrackingId, computeTrackingId, launchpublic CleanupJob(ExecutionScriptHandler<?> handler)
handler - target handlerIllegalArgumentException - if some parameters were nullpublic void execute(ExecutionMonitor monitor, ExecutionContext context) throws InterruptedException, IOException
Jobexecute in class Jobmonitor - a progress monitor for this jobcontext - current execution contextInterruptedException - if this execution is interruptedIOException - if failed to execute this jobpublic String getServiceLabel()
JobgetServiceLabel in class Jobpublic String getJobLabel()
JobgetJobLabel in class JobCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.