public class CatalogPredicates
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<CatalogItem<?,?>,java.lang.String> |
ID_OF_ITEM_TRANSFORMER |
static com.google.common.base.Predicate<CatalogItem<Entity,EntitySpec<?>>> |
IS_ENTITY |
static com.google.common.base.Predicate<CatalogItem<Location,LocationSpec<?>>> |
IS_LOCATION |
static com.google.common.base.Predicate<CatalogItem<Policy,PolicySpec<?>>> |
IS_POLICY |
static com.google.common.base.Predicate<CatalogItem<Application,EntitySpec<? extends Application>>> |
IS_TEMPLATE |
Constructor and Description |
---|
CatalogPredicates() |
Modifier and Type | Method and Description |
---|---|
static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> |
deprecated(boolean deprecated) |
static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> |
displayName(com.google.common.base.Predicate<? super java.lang.String> filter) |
static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> |
entitledToSee(ManagementContext mgmt) |
static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> |
isBestVersion(ManagementContext mgmt) |
static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> |
isCatalogItemType(CatalogItem.CatalogItemType ciType) |
static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> |
javaType(com.google.common.base.Predicate<? super java.lang.String> filter) |
static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> |
name(com.google.common.base.Predicate<? super java.lang.String> filter)
Deprecated.
since 0.7.0 use
displayName(Predicate) |
static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> |
registeredTypeName(com.google.common.base.Predicate<? super java.lang.String> filter)
Deprecated.
|
static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> |
symbolicName(com.google.common.base.Predicate<? super java.lang.String> filter) |
static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> |
xml(com.google.common.base.Predicate<? super java.lang.String> filter) |
public static final com.google.common.base.Predicate<CatalogItem<Application,EntitySpec<? extends Application>>> IS_TEMPLATE
public static final com.google.common.base.Predicate<CatalogItem<Entity,EntitySpec<?>>> IS_ENTITY
public static final com.google.common.base.Predicate<CatalogItem<Policy,PolicySpec<?>>> IS_POLICY
public static final com.google.common.base.Predicate<CatalogItem<Location,LocationSpec<?>>> IS_LOCATION
public static final com.google.common.base.Function<CatalogItem<?,?>,java.lang.String> ID_OF_ITEM_TRANSFORMER
public static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> isCatalogItemType(CatalogItem.CatalogItemType ciType)
public static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> deprecated(boolean deprecated)
@Deprecated public static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> name(com.google.common.base.Predicate<? super java.lang.String> filter)
displayName(Predicate)
public static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> displayName(com.google.common.base.Predicate<? super java.lang.String> filter)
@Deprecated public static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> registeredTypeName(com.google.common.base.Predicate<? super java.lang.String> filter)
public static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> symbolicName(com.google.common.base.Predicate<? super java.lang.String> filter)
public static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> javaType(com.google.common.base.Predicate<? super java.lang.String> filter)
public static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> xml(com.google.common.base.Predicate<? super java.lang.String> filter)
public static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> entitledToSee(ManagementContext mgmt)
public static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> isBestVersion(ManagementContext mgmt)