Package com.evolveum.midpoint.repo.api
Class CacheInvalidationEventSpecification
- java.lang.Object
-
- com.evolveum.midpoint.repo.api.CacheInvalidationEventSpecification
-
public class CacheInvalidationEventSpecification extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Set<CacheInvalidationEventSpecification>
ALL_AVAILABLE_EVENTS
static Set<ChangeType>
ALL_CHANGES
static Set<ItemPath>
ALL_PATHS
static Set<ChangeType>
MODIFY_DELETE
-
Constructor Summary
Constructors Modifier Constructor Description protected
CacheInvalidationEventSpecification(Class<? extends ObjectType> objectType, Set<ItemPath> paths, Set<ChangeType> changeTypes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Set<ChangeType>
getChangeTypes()
@NotNull Class<? extends ObjectType>
getObjectType()
@NotNull Set<ItemPath>
getPaths()
static CacheInvalidationEventSpecification
of(Class<? extends ObjectType> type, Set<ChangeType> changes)
static CacheInvalidationEventSpecification
of(Class<? extends ObjectType> type, Set<ItemPath> paths, Set<ChangeType> changes)
static Set<CacheInvalidationEventSpecification>
setOf(Class<? extends ObjectType>... types)
-
-
-
Field Detail
-
ALL_CHANGES
public static final Set<ChangeType> ALL_CHANGES
-
MODIFY_DELETE
public static final Set<ChangeType> MODIFY_DELETE
-
ALL_AVAILABLE_EVENTS
public static final Set<CacheInvalidationEventSpecification> ALL_AVAILABLE_EVENTS
-
-
Constructor Detail
-
CacheInvalidationEventSpecification
protected CacheInvalidationEventSpecification(Class<? extends ObjectType> objectType, Set<ItemPath> paths, Set<ChangeType> changeTypes)
-
-
Method Detail
-
setOf
@SafeVarargs public static Set<CacheInvalidationEventSpecification> setOf(Class<? extends ObjectType>... types)
-
of
public static CacheInvalidationEventSpecification of(Class<? extends ObjectType> type, Set<ChangeType> changes)
-
of
public static CacheInvalidationEventSpecification of(Class<? extends ObjectType> type, Set<ItemPath> paths, Set<ChangeType> changes)
-
getObjectType
@NotNull public @NotNull Class<? extends ObjectType> getObjectType()
-
getChangeTypes
@NotNull public @NotNull Set<ChangeType> getChangeTypes()
-
-