org.nuxeo.ecm.automation.core.impl
Class InvokableMethod
java.lang.Object
org.nuxeo.ecm.automation.core.impl.InvokableMethod
- Direct Known Subclasses:
- InvokableIteratorMethod
public class InvokableMethod
- extends Object
- Author:
- Bogdan Stefanescu
VOID_PRIORITY
public static final int VOID_PRIORITY
- See Also:
- Constant Field Values
ADAPTABLE_PRIORITY
public static final int ADAPTABLE_PRIORITY
- See Also:
- Constant Field Values
ISTANCE_OF_PRIORITY
public static final int ISTANCE_OF_PRIORITY
- See Also:
- Constant Field Values
EXACT_MATCH_PRIORITY
public static final int EXACT_MATCH_PRIORITY
- See Also:
- Constant Field Values
USER_PRIORITY
public static final int USER_PRIORITY
- See Also:
- Constant Field Values
InvokableMethod
public InvokableMethod(OperationType op,
Method method,
OperationMethod anno)
isIterable
public boolean isIterable()
getPriority
public int getPriority()
getOperation
public OperationType getOperation()
getOutputType
public final Class<?> getOutputType()
getInputType
public final Class<?> getInputType()
inputMatch
public int inputMatch(Class<?> in)
- Return 0 for no match.
invoke
public Object invoke(OperationContext ctx,
Map<String,Object> args)
throws OperationException
- Throws:
OperationException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.