public interface Payload
String
, declare a
parameter with type ProbeContext
to get a context instance and call ProbeContext.createPayload(String, Object, Enum)
to create a payload that it can return.
Do not create your own subtypes.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getControlObject()
The control object for this payload.
|
java.lang.Enum<?> |
getEventType()
The type of the payload.
|
java.lang.String |
getName()
The name for this payload.
|
java.lang.String getName()
null
if none was provided yetjava.lang.Enum<?> getEventType()
Probe.customTypes()
.null
if none was providedjava.lang.Object getControlObject()
null
if none was provided