hudson
Class ExtensionFinder.GuiceExtensionAnnotation<T extends Annotation>

java.lang.Object
  extended by 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.


Field Summary
 Class<T> annotationType
           
 
Constructor Summary
protected ExtensionFinder.GuiceExtensionAnnotation(Class<T> annotationType)
           
 
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
 

Field Detail

annotationType

public final Class<T extends Annotation> annotationType
Constructor Detail

ExtensionFinder.GuiceExtensionAnnotation

protected ExtensionFinder.GuiceExtensionAnnotation(Class<T> 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)


Copyright © 2004-2013. All Rights Reserved.