public class RegisteredTypePredicates
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<RegisteredType,java.lang.String> |
ID_OF_ITEM_TRANSFORMER |
static com.google.common.base.Predicate<RegisteredType> |
IS_APPLICATION |
static com.google.common.base.Predicate<RegisteredType> |
IS_ENTITY |
static com.google.common.base.Predicate<RegisteredType> |
IS_LOCATION |
static com.google.common.base.Predicate<RegisteredType> |
IS_POLICY |
Constructor and Description |
---|
RegisteredTypePredicates() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<RegisteredType> |
alias(java.lang.String alias) |
static com.google.common.base.Predicate<RegisteredType> |
aliases(com.google.common.base.Predicate<? super java.lang.Iterable<java.lang.String>> filter) |
static <T> com.google.common.base.Predicate<RegisteredType> |
anySuperType(com.google.common.base.Predicate<java.lang.Class<T>> filter) |
static com.google.common.base.Predicate<RegisteredType> |
deprecated(boolean deprecated) |
static com.google.common.base.Predicate<RegisteredType> |
disabled(boolean disabled) |
static com.google.common.base.Predicate<RegisteredType> |
displayName(com.google.common.base.Predicate<? super java.lang.String> filter) |
static com.google.common.base.Predicate<RegisteredType> |
entitledToSee(ManagementContext mgmt) |
static com.google.common.base.Predicate<RegisteredType> |
isBestVersion(ManagementContext mgmt) |
static boolean |
isBestVersion(ManagementContext mgmt,
RegisteredType item) |
static com.google.common.base.Predicate<RegisteredType> |
satisfies(RegisteredTypeLoadingContext context) |
static com.google.common.base.Predicate<RegisteredType> |
subtypeOf(java.lang.Class<?> filter) |
static com.google.common.base.Predicate<RegisteredType> |
symbolicName(com.google.common.base.Predicate<? super java.lang.String> filter) |
static com.google.common.base.Predicate<RegisteredType> |
symbolicName(java.lang.String name) |
static com.google.common.base.Predicate<RegisteredType> |
tag(java.lang.Object tag) |
static com.google.common.base.Predicate<RegisteredType> |
tags(com.google.common.base.Predicate<? super java.lang.Iterable<java.lang.Object>> filter) |
static com.google.common.base.Predicate<RegisteredType> |
version(com.google.common.base.Predicate<? super java.lang.String> filter) |
static com.google.common.base.Predicate<RegisteredType> |
version(java.lang.String name) |
public static final com.google.common.base.Function<RegisteredType,java.lang.String> ID_OF_ITEM_TRANSFORMER
public static final com.google.common.base.Predicate<RegisteredType> IS_APPLICATION
public static final com.google.common.base.Predicate<RegisteredType> IS_ENTITY
public static final com.google.common.base.Predicate<RegisteredType> IS_LOCATION
public static final com.google.common.base.Predicate<RegisteredType> IS_POLICY
public static com.google.common.base.Predicate<RegisteredType> deprecated(boolean deprecated)
public static com.google.common.base.Predicate<RegisteredType> disabled(boolean disabled)
public static com.google.common.base.Predicate<RegisteredType> displayName(com.google.common.base.Predicate<? super java.lang.String> filter)
public static com.google.common.base.Predicate<RegisteredType> symbolicName(java.lang.String name)
public static com.google.common.base.Predicate<RegisteredType> symbolicName(com.google.common.base.Predicate<? super java.lang.String> filter)
public static com.google.common.base.Predicate<RegisteredType> version(java.lang.String name)
public static com.google.common.base.Predicate<RegisteredType> version(com.google.common.base.Predicate<? super java.lang.String> filter)
public static com.google.common.base.Predicate<RegisteredType> alias(java.lang.String alias)
public static com.google.common.base.Predicate<RegisteredType> aliases(com.google.common.base.Predicate<? super java.lang.Iterable<java.lang.String>> filter)
public static com.google.common.base.Predicate<RegisteredType> tag(java.lang.Object tag)
public static com.google.common.base.Predicate<RegisteredType> tags(com.google.common.base.Predicate<? super java.lang.Iterable<java.lang.Object>> filter)
public static <T> com.google.common.base.Predicate<RegisteredType> anySuperType(com.google.common.base.Predicate<java.lang.Class<T>> filter)
public static com.google.common.base.Predicate<RegisteredType> subtypeOf(java.lang.Class<?> filter)
public static com.google.common.base.Predicate<RegisteredType> entitledToSee(ManagementContext mgmt)
public static com.google.common.base.Predicate<RegisteredType> isBestVersion(ManagementContext mgmt)
public static boolean isBestVersion(ManagementContext mgmt, RegisteredType item)
public static com.google.common.base.Predicate<RegisteredType> satisfies(RegisteredTypeLoadingContext context)