public class GroovyTask extends Task implements SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
GroovyTask.DescriptorGroovyTask
The Descriptor of DescriptorGroovyTask
|
Task.DescriptorTask
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
examModel, examName, modelConfiguration, taskHelper
BUILDERS, 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, setTimeout
all, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
perform, perform, requiresWorkspace
getProjectAction, 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 SimpleBuildStep
IOException
InterruptedException
protected void doExecuteTask(ClientRequest clientRequest) throws IOException, InterruptedException
doExecuteTask
in class Task
IOException
InterruptedException
Copyright © 2016–2023 MicroNova AG. All rights reserved.