Package hudson
Class ExtensionFinder.GuiceExtensionAnnotation<T extends Annotation>
- java.lang.Object
-
- hudson.ExtensionFinder.GuiceExtensionAnnotation<T>
-
- Direct Known Subclasses:
ExtensionFinder.DefaultGuiceExtensionAnnotation
- Enclosing class:
- ExtensionFinder
public abstract static class ExtensionFinder.GuiceExtensionAnnotation<T extends Annotation> extends Object
Captures information about the annotation that we use to mark Guice-instantiated components.
-
-
Field Summary
Fields Modifier and Type Field Description Class<T>
annotationType
-
Constructor Summary
Constructors Modifier Constructor Description protected
GuiceExtensionAnnotation(Class<T> annotationType)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract double
getOrdinal(T annotation)
protected abstract boolean
isActive(AnnotatedElement e)
Hook to enable subtypes to control which ones to pick up and which ones to ignore.protected abstract boolean
isOptional(T annotation)
-
-
-
Field Detail
-
annotationType
public final Class<T extends Annotation> annotationType
-
-
Method Detail
-
getOrdinal
protected abstract double getOrdinal(T annotation)
-
isActive
protected abstract boolean isActive(AnnotatedElement e)
Hook to enable subtypes to control which ones to pick up and which ones to ignore.
-
isOptional
protected abstract boolean isOptional(T annotation)
-
-