Package org.kohsuke

Annotation Interface MetaInfServices


@Retention(SOURCE) @Documented @Target(TYPE) public @interface MetaInfServices
Indicates that this class name should be listed into the META-INF/services/CONTRACTNAME.

If the class for which this annotation is placaed only have one base class or one interface, then the CONTRACTNAME is the fully qualified name of that type.

Otherwise, the value() element is required to specify the contract type name.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
  • Element Details

    • value

      Class<?>[] value
      Default:
      {void.class}