public class DeleteStep extends BaseStep
| Modifier and Type | Class and Description |
|---|---|
static class |
DeleteStep.DescriptorImpl |
BaseStep.InputTypeSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudsonpipelineClient, pipelineResourceClient, pipelineRunClient, taskClient, taskRunClient, tektonClientBUILDERS, PUBLISHERS| Constructor and Description |
|---|
DeleteStep(String resourceName,
String resourceType) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
deletePipeline() |
Boolean |
deletePipelineResource() |
Boolean |
deletePipelineRun() |
Boolean |
deleteTask() |
Boolean |
deleteTaskRun() |
String |
getResourceName() |
String |
getResourceType() |
void |
perform(Run<?,?> run,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
protected boolean |
runDelete() |
setPipelineClient, setPipelineResourceClient, setPipelineRunClient, setTaskClient, setTaskRunClient, setTektonClientall, getDescriptor, getRequiredMonitorService, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildpublic String getResourceType()
public String getResourceName()
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOException
InterruptedExceptionIOExceptionprotected boolean runDelete()
public Boolean deleteTask()
public Boolean deleteTaskRun()
public Boolean deletePipeline()
public Boolean deletePipelineRun()
public Boolean deletePipelineResource()
Copyright © 2016–2020. All rights reserved.