Interface GlobalRestrictionFactory
- All Known Implementing Classes:
StandardGlobalRestrictionsFactory
public interface GlobalRestrictionFactory
Interface for option restriction factories
-
Method Summary
Modifier and TypeMethodDescriptioncreateGlobalRestriction(Annotation annotation) Try and create a global restriction from the given annotationList<Class<? extends Annotation>> Gets a list of annotations that this factory can convert into global restrictions
-
Method Details
-
createGlobalRestriction
Try and create a global restriction from the given annotation- Parameters:
annotation- Annotation- Returns:
- Global restriction or
nullif this factory cannot create a restriction from the given annotation
-
supportedGlobalAnnotations
List<Class<? extends Annotation>> supportedGlobalAnnotations()Gets a list of annotations that this factory can convert into global restrictions- Returns:
- List of supported annotations
-