hudson.scm
Class SCMS

java.lang.Object
  extended by hudson.scm.SCMS

public class SCMS
extends Object

List of all installed SCMs.

Author:
Kohsuke Kawaguchi

Field Summary
static List<SCMDescriptor<?>> SCMS
          Deprecated. as of 1.286 Use SCM.all() for read access and Extension for registration.
 
Constructor Summary
SCMS()
           
 
Method Summary
static SCM parseSCM(org.kohsuke.stapler.StaplerRequest req)
          Deprecated. as of 1.294 Use parseSCM(StaplerRequest, AbstractProject) and pass in the caller's project type.
static SCM parseSCM(org.kohsuke.stapler.StaplerRequest req, AbstractProject target)
          Parses SCM configuration from the submitted form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCMS

public static final List<SCMDescriptor<?>> SCMS
Deprecated. as of 1.286 Use SCM.all() for read access and Extension for registration.
List of all installed SCMs.

Constructor Detail

SCMS

public SCMS()
Method Detail

parseSCM

public static SCM parseSCM(org.kohsuke.stapler.StaplerRequest req,
                           AbstractProject target)
                    throws Descriptor.FormException,
                           javax.servlet.ServletException
Parses SCM configuration from the submitted form.

Parameters:
target - The project for which this SCM is configured to.
Throws:
Descriptor.FormException
javax.servlet.ServletException

parseSCM

public static SCM parseSCM(org.kohsuke.stapler.StaplerRequest req)
                    throws Descriptor.FormException,
                           javax.servlet.ServletException
Deprecated. as of 1.294 Use parseSCM(StaplerRequest, AbstractProject) and pass in the caller's project type.

Throws:
Descriptor.FormException
javax.servlet.ServletException


Copyright © 2004-2013. All Rights Reserved.