Class RequirementPredicates
java.lang.Object
com.atlassian.bamboo.v2.build.agent.capability.RequirementPredicates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.base.Predicate<Requirement>
getIdEqualPredicate
(long id) Deprecated.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>
Deprecated.since 6.2, useRequirement.belongsToPlugin()
method referencestatic com.google.common.base.Predicate<Requirement>
Deprecated.since 6.2, useImmutableRequirement.isReadonly()
method referencestatic com.google.common.base.Predicate<Requirement>
requirementKeyStartsWith
(@NotNull String prefix)
-
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) 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.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
-
BambooPredicates.hasBambooObjectEqualId(long)