hudson
Class ExtensionFinder.GuiceExtensionAnnotation<T extends Annotation>
java.lang.Object
hudson.ExtensionFinder.GuiceExtensionAnnotation<T>
- Direct Known Subclasses:
- ExtensionFinder.DefaultGuiceExtensionAnnotation, TestExtensionLoader
- 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.
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
annotationType
public final Class<T extends Annotation> annotationType
ExtensionFinder.GuiceExtensionAnnotation
protected ExtensionFinder.GuiceExtensionAnnotation(Class<T> annotationType)
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)
Copyright © 2004-2013. All Rights Reserved.