org.jenkinsci.plugins.ParameterizedRemoteTrigger
Class RemoteJenkinsServer

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

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

Holds everything regarding the remote server we wish to connect to, including validations and what not.

Author:
Maurice W.

Nested Class Summary
static class RemoteJenkinsServer.DescriptorImpl
           
 
Constructor Summary
RemoteJenkinsServer(String address, String displayName, boolean hasBuildTokenRootSupport, String username, String apiToken)
           
 
Method Summary
 URL getAddress()
           
 String getApiToken()
           
 RemoteJenkinsServer.DescriptorImpl getDescriptor()
           
 String getDisplayName()
           
 boolean getHasBuildTokenRootSupport()
           
 String getUsername()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteJenkinsServer

@DataBoundConstructor
public RemoteJenkinsServer(String address,
                                                String displayName,
                                                boolean hasBuildTokenRootSupport,
                                                String username,
                                                String apiToken)
                    throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getDisplayName

public String getDisplayName()

getAddress

public URL getAddress()

getHasBuildTokenRootSupport

public boolean getHasBuildTokenRootSupport()

getUsername

public String getUsername()

getApiToken

public String getApiToken()

getDescriptor

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


Copyright © 2004-2013. All Rights Reserved.