Class GitLabSCMNavigatorContext

java.lang.Object
jenkins.scm.api.trait.SCMNavigatorContext<GitLabSCMNavigatorContext,GitLabSCMNavigatorRequest>
io.jenkins.plugins.gitlabbranchsource.GitLabSCMNavigatorContext

public class GitLabSCMNavigatorContext extends jenkins.scm.api.trait.SCMNavigatorContext<GitLabSCMNavigatorContext,GitLabSCMNavigatorRequest>
  • Constructor Details

    • GitLabSCMNavigatorContext

      public GitLabSCMNavigatorContext()
  • Method Details

    • newRequest

      @NonNull public GitLabSCMNavigatorRequest newRequest(@NonNull jenkins.scm.api.SCMNavigator navigator, @NonNull jenkins.scm.api.SCMSourceObserver observer)
      Specified by:
      newRequest in class jenkins.scm.api.trait.SCMNavigatorContext<GitLabSCMNavigatorContext,GitLabSCMNavigatorRequest>
    • wantSubgroupProjects

      public boolean wantSubgroupProjects()
      Returns:
      whether to include subgroup projects
    • wantSubgroupProjects

      public GitLabSCMNavigatorContext wantSubgroupProjects(boolean include)
    • wantSharedProjects

      public boolean wantSharedProjects()
    • wantSharedProjects

      public GitLabSCMNavigatorContext wantSharedProjects(boolean include)
    • withProjectNamingStrategy

      public int withProjectNamingStrategy()
      Returns the project naming strategy id.
      Returns:
      the project naming strategy id.
    • withProjectNamingStrategy

      public GitLabSCMNavigatorContext withProjectNamingStrategy(int strategyId)
    • isExcludeArchivedRepositories

      public boolean isExcludeArchivedRepositories()
      Returns:
      True if archived repositories should be ignored, false if they should be included.
    • setExcludeArchivedRepositories

      public void setExcludeArchivedRepositories(boolean excludeArchivedRepositories)
      Parameters:
      excludeArchivedRepositories - Set true to exclude archived repositories