public class StashRepositoryPredicates extends Object
Constructor and Description |
---|
StashRepositoryPredicates() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<ImmutableChain> |
branchMonitoringConfigurationBuildsPullRequests()
Predicate that is fulfilled when plan has pull request builds enabled
|
static com.google.common.base.Predicate<ImmutableChain> |
branchMonitoringConfigurationMatchesBranchName(String vcsBranchName)
Predicate that is fulfilled when plan has automatic branch management enabled
|
static com.google.common.base.Predicate<ImmutableChain> |
defaultRepositoryMatchesQuery(CustomVariableContext customVariableContext,
PlanRepositoryIndex.Query query)
Predicate that is fulfilled when chain has default repository matching query.
|
static com.google.common.base.Predicate<StashRepository> |
matchesQuery(CustomVariableContext customVariableContext,
PlanRepositoryIndex.Query query)
Predicate that is fulfilled when repository matches query.
|
public static com.google.common.base.Predicate<StashRepository> matchesQuery(@NotNull CustomVariableContext customVariableContext, @NotNull PlanRepositoryIndex.Query query)
customVariableContext
- custom variable context with plan set alreadyquery
- query to be matched against repositorypublic static com.google.common.base.Predicate<ImmutableChain> defaultRepositoryMatchesQuery(@NotNull CustomVariableContext customVariableContext, @NotNull PlanRepositoryIndex.Query query)
customVariableContext
- empty custom variable contextquery
- query to be matched against repositorypublic static com.google.common.base.Predicate<ImmutableChain> branchMonitoringConfigurationMatchesBranchName(@NotNull String vcsBranchName)
public static com.google.common.base.Predicate<ImmutableChain> branchMonitoringConfigurationBuildsPullRequests()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.