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(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 Details
-
SCMS
List of all installed SCMs.
-
-
Constructor Details
-
SCMS
public SCMS()
-
-
Method Details
-
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
-
SCM.all()for read access andExtensionfor registration.