Package hudson.scm
Class SCMS
java.lang.Object
hudson.scm.SCMS
List of all installed SCMs.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SCM
parseSCM
(org.kohsuke.stapler.StaplerRequest req) Deprecated.as of 1.294 UseparseSCM(StaplerRequest2, AbstractProject)
and pass in the caller's project type.static SCM
parseSCM
(org.kohsuke.stapler.StaplerRequest2 req, AbstractProject target) ParsesSCM
configuration from the submitted form.static SCM
parseSCM
(org.kohsuke.stapler.StaplerRequest req, AbstractProject target) Deprecated.
-
Field Details
-
SCMS
List of all installed SCMs.
-
-
Constructor Details
-
SCMS
public SCMS()
-
-
Method Details
-
parseSCM
public static SCM parseSCM(org.kohsuke.stapler.StaplerRequest2 req, AbstractProject target) throws Descriptor.FormException, jakarta.servlet.ServletException ParsesSCM
configuration from the submitted form.- Parameters:
target
- The project for which this SCM is configured to.- Throws:
Descriptor.FormException
jakarta.servlet.ServletException
-
parseSCM
@Deprecated public static SCM parseSCM(org.kohsuke.stapler.StaplerRequest req, AbstractProject target) throws Descriptor.FormException, javax.servlet.ServletException Deprecated.- 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(StaplerRequest2, AbstractProject)
and pass in the caller's project type.- Throws:
Descriptor.FormException
javax.servlet.ServletException
-
SCM.all()
for read access andExtension
for registration.