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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleannewRequest(jenkins.scm.api.SCMNavigator navigator, jenkins.scm.api.SCMSourceObserver observer) voidsetExcludeArchivedRepositories(boolean excludeArchivedRepositories) booleanwantSharedProjects(boolean include) booleanwantSubgroupProjects(boolean include) intReturns the project naming strategy id.withProjectNamingStrategy(int strategyId) Methods inherited from class jenkins.scm.api.trait.SCMNavigatorContext
decorators, filters, prefilters, traits, withDecorator, withDecorators, withDecorators, withFilter, withPrefilter, withTrait, withTrait, withTraits, withTraits
-
Constructor Details
-
GitLabSCMNavigatorContext
public GitLabSCMNavigatorContext()
-
-
Method Details
-
wantSubgroupProjects
public boolean wantSubgroupProjects()- Returns:
- whether to include subgroup projects
-
wantSubgroupProjects
-
withProjectNamingStrategy
public int withProjectNamingStrategy()Returns the project naming strategy id.- Returns:
- the project naming strategy id.
-
withProjectNamingStrategy
-
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