Class InvokableMethod
java.lang.Object
org.nuxeo.ecm.automation.core.impl.InvokableMethod
- All Implemented Interfaces:
Comparable<InvokableMethod>
- Direct Known Subclasses:
InvokableIteratorMethod
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
protected Class<? extends AsyncService>
protected Class<?>
static final int
static final int
protected Method
protected OperationType
protected int
protected Class<?>
static final int
static final int
-
Constructor Summary
ConstructorDescriptionInvokableMethod
(OperationType op, Method method) InvokableMethod
(OperationType op, Method method, OperationMethod anno) -
Method Summary
Modifier and TypeMethodDescriptionint
protected Object
doInvoke
(OperationContext ctx, Map<String, Object> args) Class<? extends AsyncService>
Class<?>
protected String
final Class<?>
final Class<?>
int
Class<?>
int
inputMatch
(Class<?> in) Return 0 for no match.invoke
(OperationContext ctx, Map<String, Object> args) boolean
toString()
-
Field Details
-
VOID_PRIORITY
public static final int VOID_PRIORITY- See Also:
-
ADAPTABLE_PRIORITY
public static final int ADAPTABLE_PRIORITY- See Also:
-
ISTANCE_OF_PRIORITY
public static final int ISTANCE_OF_PRIORITY- See Also:
-
EXACT_MATCH_PRIORITY
public static final int EXACT_MATCH_PRIORITY- See Also:
-
USER_PRIORITY
public static final int USER_PRIORITY- See Also:
-
op
-
method
-
produce
-
consume
-
priority
protected int priority -
asyncService
-
-
Constructor Details
-
InvokableMethod
-
InvokableMethod
-
-
Method Details
-
isIterable
public boolean isIterable() -
getPriority
public int getPriority() -
getOperation
-
getOutputType
-
getInputType
-
inputMatch
Return 0 for no match. -
doInvoke
protected Object doInvoke(OperationContext ctx, Map<String, Object> args) throws OperationException, ReflectiveOperationException -
invoke
- Throws:
OperationException
-
getExceptionMessage
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<InvokableMethod>
-
getMethod
-
getProduce
-
getConsume
-
getAsyncService
-