Interface GlobalRestrictionFactory

All Known Implementing Classes:
StandardGlobalRestrictionsFactory

public interface GlobalRestrictionFactory
Interface for option restriction factories
  • Method Details

    • createGlobalRestriction

      GlobalRestriction createGlobalRestriction(Annotation annotation)
      Try and create a global restriction from the given annotation
      Parameters:
      annotation - Annotation
      Returns:
      Global restriction or null if 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