public class GroovyTask extends Task implements SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
GroovyTask.DescriptorGroovyTask
The Descriptor of DescriptorGroovyTask
|
Task.DescriptorTaskSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudsonexamModel, examName, modelConfiguration, taskHelperBUILDERS, PUBLISHERS| Constructor and Description |
|---|
GroovyTask(String script,
String startElement,
String examName,
String examModel,
String modelConfiguration)
Constructor of GroovyTask
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecuteTask(ClientRequest clientRequest) |
String |
getExamModel() |
String |
getModelConfiguration() |
String |
getScript() |
String |
getStartElement() |
boolean |
isUseStartElement() |
void |
perform(Run<?,?> run,
FilePath workspace,
Launcher launcher,
TaskListener taskListener) |
void |
setExamModel(String examModel) |
void |
setModelConfiguration(String modelConfiguration) |
void |
setScript(String script) |
void |
setStartElement(String startElement) |
void |
setUseStartElement(boolean useStartElement) |
createModelConfig, getDescriptor, getExam, getExamName, getJavaOpts, getModel, getTaskHelper, getTimeout, setJavaOpts, setTimeoutall, getRequiredMonitorService, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperform, perform, requiresWorkspacegetProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild@DataBoundConstructor public GroovyTask(String script, String startElement, String examName, String examModel, String modelConfiguration)
examName - examNameexamModel - examModelmodelConfiguration - modelConfigurationscript - scriptstartElement - startElementpublic String getStartElement()
@DataBoundSetter public void setUseStartElement(boolean useStartElement)
public boolean isUseStartElement()
@DataBoundSetter public void setStartElement(String startElement)
public String getScript()
@DataBoundSetter public void setScript(String script)
public String getModelConfiguration()
@DataBoundSetter public void setModelConfiguration(String modelConfiguration)
public String getExamModel()
@DataBoundSetter public void setExamModel(String examModel)
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener taskListener) throws IOException, InterruptedException
perform in interface SimpleBuildStepIOExceptionInterruptedExceptionprotected void doExecuteTask(ClientRequest clientRequest) throws IOException, InterruptedException
doExecuteTask in class TaskIOExceptionInterruptedExceptionCopyright © 2016–2023 MicroNova AG. All rights reserved.