Package jenkins.plugins.slack.pipeline
Class SlackUploadFileStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- jenkins.plugins.slack.pipeline.SlackUploadFileStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class SlackUploadFileStep extends org.jenkinsci.plugins.workflow.steps.Step
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SlackUploadFileStep.DescriptorImpl
static class
SlackUploadFileStep.SlackUploadFileStepExecution
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SlackUploadFileStep(String filePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getChannel()
String
getCredentialId()
String
getFilePath()
String
getInitialComment()
void
setChannel(String channel)
void
setCredentialId(String credentialId)
void
setInitialComment(String initialComment)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Constructor Detail
-
SlackUploadFileStep
@DataBoundConstructor public SlackUploadFileStep(String filePath)
-
-
Method Detail
-
setCredentialId
@DataBoundSetter public void setCredentialId(String credentialId)
-
setChannel
@DataBoundSetter public void setChannel(String channel)
-
setInitialComment
@DataBoundSetter public void setInitialComment(String initialComment)
-
getCredentialId
public String getCredentialId()
-
getChannel
public String getChannel()
-
getInitialComment
public String getInitialComment()
-
getFilePath
public String getFilePath()
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context)
- Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
-
-