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 SCMparseSCM(org.kohsuke.stapler.StaplerRequest req)Deprecated.as of 1.294 UseparseSCM(StaplerRequest, AbstractProject)and pass in the caller's project type.static SCMparseSCM(org.kohsuke.stapler.StaplerRequest req, AbstractProject target)ParsesSCMconfiguration 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
ParsesSCMconfiguration from the submitted form.- Parameters:
target- The project for which this SCM is configured to.- Throws:
Descriptor.FormExceptionjavax.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.FormExceptionjavax.servlet.ServletException
-
-