public abstract class Task extends Builder implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Task.DescriptorTask
The Descriptor of DescriptorExamTask
|
ExtensionPoint.LegacyInstancesAreScopedToHudson
BuildStep.PublisherList
Modifier and Type | Field and Description |
---|---|
protected String |
examModel
Identifies
ExamModelConfig to be used. |
protected String |
examName
Identifies
ExamTool to be used. |
protected String |
modelConfiguration
the modelConfiguration as ID, UUID, or FullScopedName
|
protected ExamTaskHelper |
taskHelper |
BUILDERS, PUBLISHERS
Constructor and Description |
---|
Task() |
Modifier and Type | Method and Description |
---|---|
protected ModelConfiguration |
createModelConfig() |
protected abstract void |
doExecuteTask(ClientRequest clientRequest) |
Task.DescriptorTask |
getDescriptor() |
ExamTool |
getExam()
Gets the EXAM to invoke, or null to invoke the default one.
|
String |
getExamName() |
String |
getJavaOpts()
Gets the JAVA_OPTS parameter, or null.
|
protected ExamModelConfig |
getModel(String name) |
ExamTaskHelper |
getTaskHelper()
Gets the ExamTaskHelper parameter.
|
int |
getTimeout()
Gets the timeout parameter, or null.
|
void |
setJavaOpts(String javaOpts) |
void |
setTimeout(int timeout) |
all, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
protected String modelConfiguration
protected String examModel
ExamModelConfig
to be used.protected ExamTaskHelper taskHelper
public ExamTaskHelper getTaskHelper()
public String getJavaOpts()
@DataBoundSetter public void setJavaOpts(String javaOpts)
public int getTimeout()
@DataBoundSetter public void setTimeout(int timeout)
public String getExamName()
protected abstract void doExecuteTask(ClientRequest clientRequest) throws IOException, InterruptedException
IOException
InterruptedException
public Task.DescriptorTask getDescriptor()
getDescriptor
in interface Describable<Builder>
getDescriptor
in class Builder
@Nullable public ExamTool getExam()
@Nullable protected ExamModelConfig getModel(String name)
protected ModelConfiguration createModelConfig() throws AbortException
AbortException
Copyright © 2016–2023 MicroNova AG. All rights reserved.