Class RequirementPredicates
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.capability.RequirementPredicates
-
public class RequirementPredicates extends Object
-
-
Constructor Summary
Constructors Constructor Description RequirementPredicates()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static com.google.common.base.Predicate<Requirement>
getIdEqualPredicate(long id)
Deprecated.since 6.2, useBambooPredicates.hasBambooObjectEqualId(long)
static com.google.common.base.Predicate<Requirement>
getKeyAndOwnerIdEqualPredicate(@Nullable String key, long ownerId)
static com.google.common.base.Predicate<Requirement>
getKeyEqualPredicate(@Nullable String key)
static com.google.common.base.Predicate<Requirement>
getPluginRequirementsPredicate(@NotNull String pluginModuleKey, long ownerId)
static com.google.common.base.Predicate<Requirement>
requirementBelongsToAPlugin()
Deprecated.since 6.2, useRequirement.belongsToPlugin()
method referencestatic com.google.common.base.Predicate<Requirement>
requirementIsReadOnly()
Deprecated.since 6.2, useImmutableRequirement.isReadonly()
method referencestatic com.google.common.base.Predicate<Requirement>
requirementKeyStartsWith(@NotNull String prefix)
-
-
-
Method Detail
-
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)
Deprecated.since 6.2, useBambooPredicates.hasBambooObjectEqualId(long)
-
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, useImmutableRequirement.isReadonly()
method reference
-
requirementBelongsToAPlugin
@Deprecated public static com.google.common.base.Predicate<Requirement> requirementBelongsToAPlugin()
Deprecated.since 6.2, useRequirement.belongsToPlugin()
method reference
-
-