org.hippoecm.hst.configuration.channel
Class AnnotationHstPropertyDefinition

java.lang.Object
  extended by org.hippoecm.hst.configuration.channel.AbstractHstPropertyDefinition
      extended by org.hippoecm.hst.configuration.channel.AnnotationHstPropertyDefinition
All Implemented Interfaces:
HstPropertyDefinition

public class AnnotationHstPropertyDefinition
extends AbstractHstPropertyDefinition


Field Summary
 
Fields inherited from class org.hippoecm.hst.configuration.channel.AbstractHstPropertyDefinition
defaultValue, name, required, type
 
Constructor Summary
AnnotationHstPropertyDefinition(Parameter propAnnotation, Class<?> returnType, Annotation[] annotations)
           
AnnotationHstPropertyDefinition(Parameter propAnnotation, Class<?> returnType, Annotation[] annotations)
           
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<T> annotationClass)
           
 List<Annotation> getAnnotations()
           
 
Methods inherited from class org.hippoecm.hst.configuration.channel.AbstractHstPropertyDefinition
getDefaultValue, getName, getValueType, isRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationHstPropertyDefinition

public AnnotationHstPropertyDefinition(Parameter propAnnotation,
                                       Class<?> returnType,
                                       Annotation[] annotations)

AnnotationHstPropertyDefinition

public AnnotationHstPropertyDefinition(Parameter propAnnotation,
                                       Class<?> returnType,
                                       Annotation[] annotations)
Method Detail

getAnnotations

public List<Annotation> getAnnotations()
Specified by:
getAnnotations in interface HstPropertyDefinition
Overrides:
getAnnotations in class AbstractHstPropertyDefinition

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
Specified by:
getAnnotation in interface HstPropertyDefinition
Overrides:
getAnnotation in class AbstractHstPropertyDefinition


Copyright © 2008-2012 Hippo. All Rights Reserved.