public class RequirementPredicates extends Object
Constructor and Description |
---|
RequirementPredicates() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<Requirement> |
getIdEqualPredicate(long id)
Deprecated.
since 6.2, use
BambooPredicates.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, use
Requirement.belongsToPlugin() method reference |
static com.google.common.base.Predicate<Requirement> |
requirementIsReadOnly()
Deprecated.
since 6.2, use
ImmutableRequirement.isReadonly() method reference |
static com.google.common.base.Predicate<Requirement> |
requirementKeyStartsWith(@NotNull String prefix) |
public static com.google.common.base.Predicate<Requirement> getKeyEqualPredicate(@Nullable @Nullable String key)
public static com.google.common.base.Predicate<Requirement> getKeyAndOwnerIdEqualPredicate(@Nullable @Nullable String key, long ownerId)
@Deprecated public static com.google.common.base.Predicate<Requirement> getIdEqualPredicate(long id)
BambooPredicates.hasBambooObjectEqualId(long)
public static com.google.common.base.Predicate<Requirement> getPluginRequirementsPredicate(@NotNull @NotNull String pluginModuleKey, long ownerId)
public static com.google.common.base.Predicate<Requirement> requirementKeyStartsWith(@NotNull @NotNull String prefix)
@Deprecated public static com.google.common.base.Predicate<Requirement> requirementIsReadOnly()
ImmutableRequirement.isReadonly()
method reference@Deprecated public static com.google.common.base.Predicate<Requirement> requirementBelongsToAPlugin()
Requirement.belongsToPlugin()
method referenceCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.