Package org.kohsuke

Annotation Type 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.

    Author:
    Kohsuke Kawaguchi
    • Optional Element Summary

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

      • value

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