public class DataImportBuilder extends Builder implements SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
DataImportBuilder.DescriptorImpl |
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
BUILDERS, PUBLISHERS
Constructor and Description |
---|
DataImportBuilder(String hostname,
String tfCredentialsId,
String ocCredentialsId,
String ocVersion,
String archiveName,
String sourcePath,
List<IncludePattern> includePatterns,
List<ExcludePattern> excludePatterns,
String importStrategy,
String tempDirectory) |
Modifier and Type | Method and Description |
---|---|
String |
getArchiveName() |
DataImportBuilder.DescriptorImpl |
getDescriptor() |
List<ExcludePattern> |
getExcludePatterns() |
String |
getHostname() |
String |
getImportStrategy() |
List<IncludePattern> |
getIncludePatterns() |
String |
getOcCredentialsId() |
String |
getOcVersion() |
String |
getSourcePath() |
String |
getTempDirectory() |
String |
getTfCredentialsId() |
void |
perform(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
void |
setArchiveName(String archiveName) |
void |
setExcludePatterns(List<ExcludePattern> excludePatterns) |
void |
setHostname(String hostname) |
void |
setImportStrategy(String importStrategy) |
void |
setIncludePatterns(List<IncludePattern> includePatterns) |
void |
setOcCredentialsId(String ocCredentialsId) |
void |
setOcVersion(String ocVersion) |
void |
setSourcePath(String sourcePath) |
void |
setTempDirectory(String tempDirectory) |
void |
setTfCredentialsId(String tfCredentialsId) |
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 DataImportBuilder(String hostname, String tfCredentialsId, String ocCredentialsId, String ocVersion, String archiveName, String sourcePath, List<IncludePattern> includePatterns, List<ExcludePattern> excludePatterns, String importStrategy, String tempDirectory)
public String getHostname()
@DataBoundSetter public void setHostname(String hostname)
public String getTfCredentialsId()
@DataBoundSetter public void setTfCredentialsId(String tfCredentialsId)
public String getOcCredentialsId()
@DataBoundSetter public void setOcCredentialsId(String ocCredentialsId)
public String getOcVersion()
@DataBoundSetter public void setOcVersion(String ocVersion)
public String getArchiveName()
@DataBoundSetter public void setArchiveName(String archiveName)
public String getSourcePath()
@DataBoundSetter public void setSourcePath(String sourcePath)
public List<IncludePattern> getIncludePatterns()
@DataBoundSetter public void setIncludePatterns(List<IncludePattern> includePatterns)
public List<ExcludePattern> getExcludePatterns()
@DataBoundSetter public void setExcludePatterns(List<ExcludePattern> excludePatterns)
public String getImportStrategy()
@DataBoundSetter public void setImportStrategy(String importStrategy)
public String getTempDirectory()
@DataBoundSetter public void setTempDirectory(String tempDirectory)
public void perform(@Nonnull Run<?,?> build, @Nonnull FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOException
perform
in interface SimpleBuildStep
InterruptedException
IOException
public DataImportBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface Describable<Builder>
getDescriptor
in class Builder
Copyright © 2016–2023. All rights reserved.