Package hudson.scm
Class SCMS
- java.lang.Object
-
- hudson.scm.SCMS
-
public class SCMS extends Object
List of all installed SCMs.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description static List<SCMDescriptor<?>>
SCMS
-
Constructor Summary
Constructors Constructor Description SCMS()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SCM
parseSCM(org.kohsuke.stapler.StaplerRequest req)
Deprecated.as of 1.294 UseparseSCM(StaplerRequest, AbstractProject)
and pass in the caller's project type.static SCM
parseSCM(org.kohsuke.stapler.StaplerRequest req, AbstractProject target)
ParsesSCM
configuration from the submitted form.
-
-
-
Field Detail
-
SCMS
@Deprecated public static final List<SCMDescriptor<?>> SCMS
List of all installed SCMs.
-
-
Method Detail
-
parseSCM
public static SCM parseSCM(org.kohsuke.stapler.StaplerRequest req, AbstractProject target) throws Descriptor.FormException, javax.servlet.ServletException
ParsesSCM
configuration from the submitted form.- Parameters:
target
- The project for which this SCM is configured to.- Throws:
Descriptor.FormException
javax.servlet.ServletException
-
parseSCM
@Deprecated public static SCM parseSCM(org.kohsuke.stapler.StaplerRequest req) throws Descriptor.FormException, javax.servlet.ServletException
Deprecated.as of 1.294 UseparseSCM(StaplerRequest, AbstractProject)
and pass in the caller's project type.- Throws:
Descriptor.FormException
javax.servlet.ServletException
-
-