|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.stapler.BindInterceptor
public class BindInterceptor
Intercepts (and receives callbacks) about the JSON->object binding process.
Field Summary | |
---|---|
static java.lang.Object |
DEFAULT
Indicates that the conversion should proceed as it normally does, and that the listener isn't replacing the process. |
static BindInterceptor |
NOOP
Default BindInterceptor that does nothing. |
Constructor Summary | |
---|---|
BindInterceptor()
|
Method Summary | |
---|---|
java.lang.Object |
onConvert(java.lang.reflect.Type targetType,
java.lang.Class targetTypeErasure,
java.lang.Object jsonSource)
Called for each object conversion. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Object DEFAULT
public static final BindInterceptor NOOP
BindInterceptor
that does nothing.
Constructor Detail |
---|
public BindInterceptor()
Method Detail |
---|
public java.lang.Object onConvert(java.lang.reflect.Type targetType, java.lang.Class targetTypeErasure, java.lang.Object jsonSource)
DEFAULT
to indicate that the default conversion process should proceed.
Any other values (including null) will override the process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |