com.ibm
Class ConnectionsPlugin.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by com.ibm.ConnectionsPlugin.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
ConnectionsPlugin

@Extension
public static final class ConnectionsPlugin.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Field Summary
 String connectionsUrl
           
 String password
           
 String username
           
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
ConnectionsPlugin.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 String getConnectionsUrl()
           
 String getDisplayName()
           
 String getPassword()
           
 String getUserName()
           
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
           
 void setConnectionsUrl(String connectionsUrl)
           
 void setPassword(String password)
           
 void setUserName(String username)
           
 void updateConnections(String message, String url, String user, String passwd)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectionsUrl

public String connectionsUrl

username

public String username

password

public String password
Constructor Detail

ConnectionsPlugin.DescriptorImpl

public ConnectionsPlugin.DescriptorImpl()
Method Detail

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

isApplicable

public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

updateConnections

public void updateConnections(String message,
                              String url,
                              String user,
                              String passwd)
                       throws Exception
Throws:
Exception

getConnectionsUrl

public String getConnectionsUrl()

setConnectionsUrl

public void setConnectionsUrl(String connectionsUrl)

getUserName

public String getUserName()

setUserName

public void setUserName(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)


Copyright © 2004-2012. All Rights Reserved.