Package org.kohsuke.stapler.lang
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
- Author:
- Kohsuke Kawaguchi
-
Method Summary
-
Method Details
-
getKlass
- Returns:
- null if there's no designated
Klass
for this instance, in which case Stapler treats this instance normally as if it didn't implementKInstance
to begin with (for example, by callingObject.getClass()
-