public static class IInvocable.Method
extends java.lang.Object
Method
- methods.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIGURE
CONFIGURE |
static java.lang.String |
GET_EXECUTION_TIME
GET_EXECUTION_TIME |
static java.lang.String |
GET_METHODS
GET_METHODS |
Modifier | Constructor and Description |
---|---|
protected |
Method()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
invoke(IInvocable invocable,
java.lang.String method,
java.lang.Object... args)
Invokes
IInvocable.invoke(String, Object[]) but suppresses the exception invocation. |
static java.lang.Object |
throwMethodIsNotSupported(java.lang.String method)
Throws "Method 'method' is not supported" exception.
|
public static final java.lang.String CONFIGURE
CONFIGURE
public static final java.lang.String GET_METHODS
GET_METHODS
public static final java.lang.String GET_EXECUTION_TIME
GET_EXECUTION_TIME
public static java.lang.Object invoke(IInvocable invocable, java.lang.String method, java.lang.Object... args)
IInvocable.invoke(String, Object[])
but suppresses the exception invocation.invocable
- method
- args
- public static java.lang.Object throwMethodIsNotSupported(java.lang.String method) throws java.lang.Exception
method
- method namejava.lang.Exception