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) |
static com.google.common.base.Predicate<Requirement> |
getKeyAndOwnerIdEqualPredicate(String key,
long ownerId) |
static com.google.common.base.Predicate<Requirement> |
getKeyEqualPredicate(String key) |
static com.google.common.base.Predicate<Requirement> |
getPluginRequirementsPredicate(String pluginModuleKey,
long ownerId) |
static com.google.common.base.Predicate<Requirement> |
requirementBelongsToAPlugin() |
static com.google.common.base.Predicate<Requirement> |
requirementIsReadOnly() |
static com.google.common.base.Predicate<Requirement> |
requirementKeyStartsWith(String prefix) |
public static com.google.common.base.Predicate<Requirement> getKeyEqualPredicate(@Nullable String key)
public static com.google.common.base.Predicate<Requirement> getKeyAndOwnerIdEqualPredicate(@Nullable String key, long ownerId)
public static com.google.common.base.Predicate<Requirement> getIdEqualPredicate(long id)
public static com.google.common.base.Predicate<Requirement> getPluginRequirementsPredicate(@NotNull String pluginModuleKey, long ownerId)
public static com.google.common.base.Predicate<Requirement> requirementKeyStartsWith(@NotNull String prefix)
public static com.google.common.base.Predicate<Requirement> requirementIsReadOnly()
public static com.google.common.base.Predicate<Requirement> requirementBelongsToAPlugin()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.