public class RequireFromRestrictionFactory extends Object implements OptionRestrictionFactory
| Constructor and Description |
|---|
RequireFromRestrictionFactory() |
| Modifier and Type | Method and Description |
|---|---|
OptionRestriction |
createOptionRestriction(Annotation annotation)
Try and create an option restriction from the given annotation
|
List<Class<? extends Annotation>> |
supportedOptionAnnotations()
Gets a list of annotations that this factory can convert into option
restrictions
|
public OptionRestriction createOptionRestriction(Annotation annotation)
OptionRestrictionFactorycreateOptionRestriction in interface OptionRestrictionFactoryannotation - Annotationnull if this factory cannot create
a restriction from the given annotationpublic List<Class<? extends Annotation>> supportedOptionAnnotations()
OptionRestrictionFactorysupportedOptionAnnotations in interface OptionRestrictionFactoryCopyright © 2012–2022. All rights reserved.