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)
OptionRestrictionFactory
createOptionRestriction
in interface OptionRestrictionFactory
annotation
- Annotationnull
if this factory cannot create
a restriction from the given annotationpublic List<Class<? extends Annotation>> supportedOptionAnnotations()
OptionRestrictionFactory
supportedOptionAnnotations
in interface OptionRestrictionFactory
Copyright © 2012–2017. All rights reserved.