public class IPythonBuilder extends hudson.tasks.Builder implements jenkins.tasks.SimpleBuildStep, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
IPythonBuilder.DescriptorImpl
The type Descriptor.
|
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
IPythonBuilder(String code,
String filePath,
String parserType,
String task,
String kernelName)
Instantiates a new Python builder.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Gets code.
|
String |
getFilePath()
Gets file path.
|
String |
getKernelName()
Gets kernel name.
|
String |
getParserType()
Gets parser type.
|
String |
getTask()
Gets task.
|
boolean |
isText()
Is text boolean.
|
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath ws,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public IPythonBuilder(String code, String filePath, String parserType, String task, String kernelName)
code
- the codefilePath
- the file pathparserType
- the parser typetask
- the taskkernelName
- the kernel namepublic void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath ws, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws hudson.AbortException
perform
in interface jenkins.tasks.SimpleBuildStep
hudson.AbortException
public String getCode()
public String getFilePath()
@CheckForNull public String getParserType()
@CheckForNull public String getTask()
@CheckForNull public String getKernelName()
public boolean isText()
Copyright © 2016–2020. All rights reserved.