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 Details

  • Constructor Details

    • GuiceExtensionAnnotation

      protected GuiceExtensionAnnotation(Class<T> annotationType)
  • Method Details

    • 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)