Class PerforceScm

java.lang.Object
hudson.scm.SCM
org.jenkinsci.plugins.p4.PerforceScm
All Implemented Interfaces:
ExtensionPoint, Describable<SCM>

public class PerforceScm extends SCM
  • Field Details

  • Constructor Details

    • PerforceScm

      @DataBoundConstructor public PerforceScm(String credential, Workspace workspace, List<Filter> filter, Populate populate, P4Browser browser)
      Create a constructor that takes non-transient fields, and add the annotation @DataBoundConstructor to it. Using the annotation helps the Stapler class to find which constructor that should be used when automatically copying values from a web form to a class.
      Parameters:
      credential - Credential ID
      workspace - Workspace connection details
      filter - Polling filters
      populate - Populate options
      browser - Browser options
    • PerforceScm

      public PerforceScm(AbstractP4ScmSource source, P4Path path, P4Ref revision)
      MultiBranch constructor for building jobs.
      Parameters:
      source - ScmSource
      path - Perforce project path and mappings
      revision - Perforce revision
    • PerforceScm

      public PerforceScm(String credential, Workspace workspace, Populate populate)
      Internal constructor for functional tests.
      Parameters:
      credential - Credential ID
      workspace - Workspace type
      populate - Populate options
  • Method Details