public class StashRepositoryPredicates extends Object
| Constructor and Description |
|---|
StashRepositoryPredicates() |
| Modifier and Type | Method and Description |
|---|---|
static Predicate<ImmutableChain> |
branchMonitoringConfigurationMatchesBranchName(String vcsBranchName)
Predicate that is fulfilled when plan has automatic branch management enabled
|
static Predicate<ImmutableChain> |
defaultRepositoryMatchesQuery(CustomVariableContext customVariableContext,
com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory applinkStashClientFactory,
PlanRepositoryIndex.Query query)
Predicate that is fulfilled when chain has default repository matching query.
|
static Predicate<VcsRepositoryData> |
matchesQuery(CustomVariableContext customVariableContext,
com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory stashClientFactory,
PlanRepositoryIndex.Query query) |
static Predicate<VcsRepositoryData> |
usesMirrorWithId(String mirrorId) |
public static Predicate<VcsRepositoryData> matchesQuery(@NotNull CustomVariableContext customVariableContext, @NotNull com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory stashClientFactory, @NotNull PlanRepositoryIndex.Query query)
public static Predicate<ImmutableChain> defaultRepositoryMatchesQuery(@NotNull CustomVariableContext customVariableContext, @NotNull com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory applinkStashClientFactory, @NotNull PlanRepositoryIndex.Query query)
customVariableContext - empty custom variable contextquery - query to be matched against repositorypublic static Predicate<ImmutableChain> branchMonitoringConfigurationMatchesBranchName(@NotNull String vcsBranchName)
public static Predicate<VcsRepositoryData> usesMirrorWithId(@NotNull String mirrorId)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.