Interface KInstance<C>

  • public interface KInstance<C>
    Objects can implement this interface to designate its own Klass. This allows specific classes or instances to take over the routing rules without going through the trouble of creating a new Facet
    Kohsuke Kawaguchi
    • Method Detail

      • getKlass

        Klass<C> getKlass()
        null if there's no designated Klass for this instance, in which case Stapler treats this instance normally as if it didn't implement KInstance to begin with (for example, by calling Object.getClass()