Class RequirementPredicates

java.lang.Object
com.atlassian.bamboo.v2.build.agent.capability.RequirementPredicates

public class RequirementPredicates extends Object
  • Constructor Details

    • RequirementPredicates

      public RequirementPredicates()
  • Method Details

    • getKeyEqualPredicate

      public static com.google.common.base.Predicate<Requirement> getKeyEqualPredicate(@Nullable @Nullable String key)
    • getKeyAndOwnerIdEqualPredicate

      public static com.google.common.base.Predicate<Requirement> getKeyAndOwnerIdEqualPredicate(@Nullable @Nullable String key, long ownerId)
    • getIdEqualPredicate

      @Deprecated public static com.google.common.base.Predicate<Requirement> getIdEqualPredicate(long id)
    • getPluginRequirementsPredicate

      public static com.google.common.base.Predicate<Requirement> getPluginRequirementsPredicate(@NotNull @NotNull String pluginModuleKey, long ownerId)
    • requirementKeyStartsWith

      public static com.google.common.base.Predicate<Requirement> requirementKeyStartsWith(@NotNull @NotNull String prefix)
    • requirementIsReadOnly

      @Deprecated public static com.google.common.base.Predicate<Requirement> requirementIsReadOnly()
      Deprecated.
      since 6.2, use ImmutableRequirement.isReadonly() method reference
    • requirementBelongsToAPlugin

      @Deprecated public static com.google.common.base.Predicate<Requirement> requirementBelongsToAPlugin()
      Deprecated.
      since 6.2, use Requirement.belongsToPlugin() method reference