public class EventActionInfo<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
actionName |
boolean |
raiseExceptionOnFalse |
Constructor and Description |
---|
EventActionInfo(java.util.function.Consumer<T> consumer,
java.lang.Class returnType) |
EventActionInfo(java.util.function.Consumer<T> consumer,
java.lang.Class returnType,
boolean raiseExceptionOnFalse) |
EventActionInfo(java.lang.String classOrActionName,
boolean raiseExceptionOnFalse) |
Modifier and Type | Method and Description |
---|---|
java.util.function.Consumer<T> |
function() |
java.lang.Class<T> |
getReturnType() |
java.lang.Boolean |
representsFunction() |
public java.lang.String actionName
public boolean raiseExceptionOnFalse
public EventActionInfo(java.lang.String classOrActionName, boolean raiseExceptionOnFalse)
public EventActionInfo(java.util.function.Consumer<T> consumer, java.lang.Class returnType)
public EventActionInfo(java.util.function.Consumer<T> consumer, java.lang.Class returnType, boolean raiseExceptionOnFalse)