public class FeedStatus
extends hudson.tasks.Builder
Modifier and Type | Class and Description |
---|---|
static class |
FeedStatus.DescriptorImpl |
Constructor and Description |
---|
FeedStatus(String prefix,
String status) |
Modifier and Type | Method and Description |
---|---|
FeedStatus.DescriptorImpl |
getDescriptor() |
String |
getPrefix() |
String |
getStatus() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setPrefix(String prefix) |
void |
setStatus(String status) |
public String getPrefix()
public void setPrefix(String prefix)
prefix
- In which Project feed to be pushedpublic String getStatus()
public void setStatus(String status)
status
- Feed Status to be pushedpublic boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
build
- Build Object of Current buildlauncher
- launcher is responsible for inheriting environment variableslistener
- Receives events that happen during a buildInterruptedException
- when a thread that is sleeping, waiting, or is occupied is interruptedIOException
- Input/Output errorpublic FeedStatus.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2016–2021. All rights reserved.