public class InvokableMethod extends Object implements Comparable<InvokableMethod>
Modifier and Type | Field and Description |
---|---|
static int |
ADAPTABLE_PRIORITY |
static int |
EXACT_MATCH_PRIORITY |
static int |
ISTANCE_OF_PRIORITY |
static int |
USER_PRIORITY |
static int |
VOID_PRIORITY |
Constructor and Description |
---|
InvokableMethod(OperationType op,
Method method) |
InvokableMethod(OperationType op,
Method method,
OperationMethod anno) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(InvokableMethod o) |
Class<?> |
getConsume() |
Class<?> |
getInputType() |
Method |
getMethod() |
OperationType |
getOperation() |
Class<?> |
getOutputType() |
int |
getPriority() |
Class<?> |
getProduce() |
int |
inputMatch(Class<?> in)
Return 0 for no match.
|
Object |
invoke(OperationContext ctx,
Map<String,Object> args) |
boolean |
isIterable() |
String |
toString() |
public static final int VOID_PRIORITY
public static final int ADAPTABLE_PRIORITY
public static final int ISTANCE_OF_PRIORITY
public static final int EXACT_MATCH_PRIORITY
public static final int USER_PRIORITY
public InvokableMethod(OperationType op, Method method, OperationMethod anno)
public InvokableMethod(OperationType op, Method method)
public boolean isIterable()
public int getPriority()
public OperationType getOperation()
public final Class<?> getOutputType()
public final Class<?> getInputType()
public int inputMatch(Class<?> in)
public Object invoke(OperationContext ctx, Map<String,Object> args) throws OperationException
OperationException
public int compareTo(InvokableMethod o)
compareTo
in interface Comparable<InvokableMethod>
public Method getMethod()
public Class<?> getProduce()
public Class<?> getConsume()
Copyright © 2015 Nuxeo SA. All rights reserved.