Package org.kohsuke.stapler
Class TearOffSupport
java.lang.Object
org.kohsuke.stapler.TearOffSupport
- Direct Known Subclasses:
MetaClass
,MetaClassLoader
Allows "tear-off" objects to be linked to the parent object.
This mechanism is used to avoid static linking optional packages, so that stapler can work even when the optional dependencies are missing.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal <T> T
getTearOff
(Class<T> t) Deprecated.final <T> T
loadTearOff
(Class<T> t) <T> void
setTearOff
(Class<T> type, T instance) Deprecated.Unused?
-
Constructor Details
-
TearOffSupport
public TearOffSupport()
-
-
Method Details
-
getTearOff
Deprecated.Unused? UseloadTearOff(java.lang.Class<T>)
. -
loadTearOff
-
setTearOff
Deprecated.Unused?
-
loadTearOff(java.lang.Class<T>)
.