org.jenkinsci.plugins.ghprb
Class GhprbGitHubAuth

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<GhprbGitHubAuth>
      extended by org.jenkinsci.plugins.ghprb.GhprbGitHubAuth
All Implemented Interfaces:
hudson.model.Describable<GhprbGitHubAuth>

public class GhprbGitHubAuth
extends hudson.model.AbstractDescribableImpl<GhprbGitHubAuth>


Nested Class Summary
static class GhprbGitHubAuth.DescriptorImpl
           
 
Field Summary
static GhprbGitHubAuth.DescriptorImpl DESCRIPTOR
           
 
Constructor Summary
GhprbGitHubAuth(String serverAPIUrl, String jenkinsUrl, String credentialsId, String description, String id, String secret)
           
 
Method Summary
 org.kohsuke.github.GitHub getConnection(hudson.model.Item context)
           
 String getCredentialsId()
           
 String getDescription()
           
 GhprbGitHubAuth.DescriptorImpl getDescriptor()
           
 String getId()
           
 String getJenkinsUrl()
           
 String getSecret()
           
 String getServerAPIUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

@Extension
public static final GhprbGitHubAuth.DescriptorImpl DESCRIPTOR
Constructor Detail

GhprbGitHubAuth

@DataBoundConstructor
public GhprbGitHubAuth(String serverAPIUrl,
                                            String jenkinsUrl,
                                            String credentialsId,
                                            String description,
                                            String id,
                                            String secret)
Method Detail

getServerAPIUrl

@Exported
public String getServerAPIUrl()

getJenkinsUrl

@Exported
public String getJenkinsUrl()

getCredentialsId

@Exported
public String getCredentialsId()

getDescription

@Exported
public String getDescription()

getId

@Exported
public String getId()

getSecret

@Exported
public String getSecret()

getConnection

public org.kohsuke.github.GitHub getConnection(hudson.model.Item context)
                                        throws IOException
Throws:
IOException

getDescriptor

public GhprbGitHubAuth.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<GhprbGitHubAuth>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<GhprbGitHubAuth>


Copyright © 2004-2015. All Rights Reserved.