Class StashRepositoryPredicates


  • public class StashRepositoryPredicates
    extends Object
    • Constructor Detail

      • StashRepositoryPredicates

        public StashRepositoryPredicates()
    • Method Detail

      • defaultRepositoryMatchesQuery

        public static Predicate<ImmutableChain> defaultRepositoryMatchesQuery​(@NotNull
                                                                              @NotNull CustomVariableContext customVariableContext,
                                                                              @NotNull
                                                                              @NotNull com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory applinkStashClientFactory,
                                                                              @NotNull
                                                                              PlanRepositoryIndex.Query query,
                                                                              @NotNull
                                                                              @NotNull String mirrorId)
        Predicate that is fulfilled when chain has default repository matching query.
        Parameters:
        customVariableContext - empty custom variable context
        applinkStashClientFactory - factory for creating stash clients
        query - query to be matched against repository
        mirrorId - mirror id to be matched against repository
      • branchMonitoringConfigurationMatchesBranchName

        public static Predicate<ImmutableChain> branchMonitoringConfigurationMatchesBranchName​(@NotNull
                                                                                               @NotNull String vcsBranchName)
        Predicate that is fulfilled when plan has automatic branch management enabled