org.nuxeo.ecm.automation.core.impl
Class InvokableMethod
java.lang.Object
org.nuxeo.ecm.automation.core.impl.InvokableMethod
public class InvokableMethod
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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,
java.lang.reflect.Method method)
getPriority
public int getPriority()
getOperation
public OperationType getOperation()
getOutputType
public final java.lang.Class<?> getOutputType()
getInputType
public final java.lang.Class<?> getInputType()
inputMatch
public int inputMatch(java.lang.Class<?> in)
- Return 0 for no match.
outputMatch
public int outputMatch(java.lang.Class<?> out)
- Returns 0 for no match.
invoke
public java.lang.Object invoke(OperationContext ctx,
java.util.Map<java.lang.String,java.lang.Object> args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.