hudson.plugins.accurev
Class AccurevSCM.AccurevSCMDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<hudson.scm.SCM>
      extended by hudson.scm.SCMDescriptor<AccurevSCM>
          extended by hudson.plugins.accurev.AccurevSCM.AccurevSCMDescriptor
All Implemented Interfaces:
hudson.model.ModelObject, hudson.model.Saveable
Enclosing class:
AccurevSCM

public static final class AccurevSCM.AccurevSCMDescriptor
extends hudson.scm.SCMDescriptor<AccurevSCM>
implements hudson.model.ModelObject


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.scm.SCMDescriptor
generation, repositoryBrowser
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
protected AccurevSCM.AccurevSCMDescriptor()
          Constructs a new AccurevSCMDescriptor.
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
          
 hudson.util.ListBoxModel doFillDepotItems(String serverName, String depot)
           
 hudson.util.ListBoxModel doFillServerNameItems(String serverName)
           
 hudson.util.ListBoxModel doFillStreamItems(String serverName, String depot, String stream)
           
 String getDisplayName()
          
 AccurevSCM.AccurevServer getServer(String name)
           
 List<AccurevSCM.AccurevServer> getServers()
          Getter for property 'servers'.
 boolean isPollOnMaster()
          Getter for property 'pollOnMaster'.
 hudson.scm.SCM newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
          
 void setPollOnMaster(boolean pollOnMaster)
          Setter for property 'pollOnMaster'.
 void setServers(List<AccurevSCM.AccurevServer> servers)
          Setter for property 'servers'.
 
Methods inherited from class hudson.scm.SCMDescriptor
getBrowserDescriptors, isApplicable, isBrowserReusable, load
 
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, 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

AccurevSCM.AccurevSCMDescriptor

protected AccurevSCM.AccurevSCMDescriptor()
Constructs a new AccurevSCMDescriptor.

Method Detail

getDisplayName

public String getDisplayName()

Specified by:
getDisplayName in interface hudson.model.ModelObject
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.scm.SCM>

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.scm.SCM>
Throws:
hudson.model.Descriptor.FormException

newInstance

public hudson.scm.SCM newInstance(org.kohsuke.stapler.StaplerRequest req,
                                  net.sf.json.JSONObject formData)
                           throws hudson.model.Descriptor.FormException

Overrides:
newInstance in class hudson.model.Descriptor<hudson.scm.SCM>
Throws:
hudson.model.Descriptor.FormException

getServers

public List<AccurevSCM.AccurevServer> getServers()
Getter for property 'servers'.

Returns:
Value for property 'servers'.

setServers

public void setServers(List<AccurevSCM.AccurevServer> servers)
Setter for property 'servers'.

Parameters:
servers - Value to set for property 'servers'.

isPollOnMaster

public boolean isPollOnMaster()
Getter for property 'pollOnMaster'.

Returns:
Value for property 'pollOnMaster'.

setPollOnMaster

public void setPollOnMaster(boolean pollOnMaster)
Setter for property 'pollOnMaster'.

Parameters:
servers - Value to set for property 'pollOnMaster'.

getServer

public AccurevSCM.AccurevServer getServer(String name)

doFillServerNameItems

public hudson.util.ListBoxModel doFillServerNameItems(@QueryParameter
                                                      String serverName)

doFillDepotItems

public hudson.util.ListBoxModel doFillDepotItems(@QueryParameter
                                                 String serverName,
                                                 @QueryParameter
                                                 String depot)

doFillStreamItems

public hudson.util.ListBoxModel doFillStreamItems(@QueryParameter
                                                  String serverName,
                                                  @QueryParameter
                                                  String depot,
                                                  @QueryParameter
                                                  String stream)


Copyright © 2004-2013. All Rights Reserved.