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<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>> |
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) |
static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> |
registeredType(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.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>> name(com.google.common.base.Predicate<? super java.lang.String> filter)
public static <T,SpecT> com.google.common.base.Predicate<CatalogItem<T,SpecT>> registeredType(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)