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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
newRequest
(jenkins.scm.api.SCMNavigator navigator, jenkins.scm.api.SCMSourceObserver observer) void
setExcludeArchivedRepositories
(boolean excludeArchivedRepositories) boolean
wantSharedProjects
(boolean include) boolean
wantSubgroupProjects
(boolean include) int
Returns 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