org.jenkinsci.plugins.darcs.browsers
Class DarcsWeb.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<RepositoryBrowser<?>>
      extended by org.jenkinsci.plugins.darcs.browsers.DarcsWeb.DescriptorImpl
All Implemented Interfaces:
Saveable
Enclosing class:
DarcsWeb

@Extension
public static class DarcsWeb.DescriptorImpl
extends Descriptor<RepositoryBrowser<?>>

DarcsWeb repository browser description.


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
 
Field Summary
private static Pattern URI_PATTERN
           
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
DarcsWeb.DescriptorImpl()
           
 
Method Summary
 FormValidation doCheck(String value)
          Validates the URL given in the config formular.
 String getDisplayName()
           
 DarcsWeb newInstance(StaplerRequest req, net.sf.json.JSONObject formData)
           
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, 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
 

Field Detail

URI_PATTERN

private static final Pattern URI_PATTERN
Constructor Detail

DarcsWeb.DescriptorImpl

public DarcsWeb.DescriptorImpl()
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class Descriptor<RepositoryBrowser<?>>

doCheck

public FormValidation doCheck(@QueryParameter
                              String value)
                       throws IOException,
                              javax.servlet.ServletException
Validates the URL given in the config formular.

Parameters:
value -
Returns:
Throws:
IOException
javax.servlet.ServletException

newInstance

public DarcsWeb newInstance(StaplerRequest req,
                            net.sf.json.JSONObject formData)
                     throws Descriptor.FormException
Overrides:
newInstance in class Descriptor<RepositoryBrowser<?>>
Throws:
Descriptor.FormException


Copyright © 2004-2013 weltraumschaf.de. All Rights Reserved.