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