public class SetupJob extends HandlerLifecycleJob
ExecutionScriptHandler
.handler
Constructor and Description |
---|
SetupJob(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, getTrackingId
computeTrackingId, computeTrackingId, launch
public SetupJob(ExecutionScriptHandler<?> handler)
handler
- target handlerIllegalArgumentException
- if some parameters were null
public void execute(ExecutionMonitor monitor, ExecutionContext context) throws InterruptedException, IOException
Job
execute
in class Job
monitor
- a progress monitor for this jobcontext
- current execution contextInterruptedException
- if this execution is interruptedIOException
- if failed to execute this jobpublic String getServiceLabel()
Job
getServiceLabel
in class Job
public String getJobLabel()
Job
getJobLabel
in class Job
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.