org.jenkinsci.plugins.sharedworkspace
Class SharedWorkspace.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.model.JobProperty<?>>
      extended by hudson.model.JobPropertyDescriptor
          extended by org.jenkinsci.plugins.sharedworkspace.SharedWorkspace.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
SharedWorkspace

@Extension
public static final class SharedWorkspace.DescriptorImpl
extends hudson.model.JobPropertyDescriptor


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
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
SharedWorkspace.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doCheckName(String nvalue, String uvalue)
           
 hudson.util.FormValidation doCheckUrl(String nvalue, String uvalue)
           
 hudson.util.ListBoxModel doFillNameItems()
           
 String getDisplayName()
           
 String getUrl(String name)
           
 List<SharedWorkspace> getWorkspaces()
           
 void setWorkspaces(List<SharedWorkspace> val)
           
 
Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, isApplicable, newInstance
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, 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
 

Constructor Detail

SharedWorkspace.DescriptorImpl

public SharedWorkspace.DescriptorImpl()
Method Detail

getWorkspaces

public List<SharedWorkspace> getWorkspaces()

setWorkspaces

public void setWorkspaces(List<SharedWorkspace> val)

getUrl

public String getUrl(String name)

doCheckName

public hudson.util.FormValidation doCheckName(@QueryParameter(value="name")
                                              String nvalue,
                                              @QueryParameter(value="url")
                                              String uvalue)
                                       throws IOException,
                                              javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doCheckUrl

public hudson.util.FormValidation doCheckUrl(@QueryParameter(value="name")
                                             String nvalue,
                                             @QueryParameter(value="url")
                                             String uvalue)
                                      throws IOException,
                                             InterruptedException
Throws:
IOException
InterruptedException

getDisplayName

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

doFillNameItems

public hudson.util.ListBoxModel doFillNameItems()
                                         throws IOException,
                                                javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

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.model.JobProperty<?>>
Throws:
hudson.model.Descriptor.FormException


Copyright © 2004-2013. All Rights Reserved.