org.jenkinsci.plugins.ghprb.upstream
Class GhprbUpstreamStatus

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by org.jenkinsci.plugins.ghprb.upstream.GhprbUpstreamStatus
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

public class GhprbUpstreamStatus
extends hudson.tasks.BuildWrapper

Author:
Kevin Suwala

Nested Class Summary
static class GhprbUpstreamStatus.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
GhprbUpstreamStatus(String commitStatusContext, String statusUrl, String triggeredStatus, String startedStatus, List<GhprbBuildResultMessage> completedStatus)
           
 
Method Summary
 String getCommitStatusContext()
           
 List<GhprbBuildResultMessage> getCompletedStatus()
           
 String getStartedStatus()
           
 String getStatusUrl()
           
 String getTriggeredStatus()
           
 void makeBuildVariables(hudson.model.AbstractBuild build, Map<String,String> variables)
           
 void preCheckout(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeSensitiveBuildVariables, setUp
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GhprbUpstreamStatus

@DataBoundConstructor
public GhprbUpstreamStatus(String commitStatusContext,
                                                String statusUrl,
                                                String triggeredStatus,
                                                String startedStatus,
                                                List<GhprbBuildResultMessage> completedStatus)
Method Detail

makeBuildVariables

public void makeBuildVariables(hudson.model.AbstractBuild build,
                               Map<String,String> variables)
Overrides:
makeBuildVariables in class hudson.tasks.BuildWrapper

setUp

public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
                                                   hudson.Launcher launcher,
                                                   hudson.model.BuildListener listener)
                                            throws IOException,
                                                   InterruptedException
Overrides:
setUp in class hudson.tasks.BuildWrapper
Throws:
IOException
InterruptedException

preCheckout

public void preCheckout(hudson.model.AbstractBuild build,
                        hudson.Launcher launcher,
                        hudson.model.BuildListener listener)
                 throws IOException,
                        InterruptedException
Overrides:
preCheckout in class hudson.tasks.BuildWrapper
Throws:
IOException
InterruptedException

getStatusUrl

public String getStatusUrl()

getCommitStatusContext

public String getCommitStatusContext()

getStartedStatus

public String getStartedStatus()

getTriggeredStatus

public String getTriggeredStatus()

getCompletedStatus

public List<GhprbBuildResultMessage> getCompletedStatus()


Copyright © 2004-2016. All Rights Reserved.