org.nuxeo.ecm.automation.core.impl
Class OperationTypeImpl
java.lang.Object
org.nuxeo.ecm.automation.core.impl.OperationTypeImpl
- All Implemented Interfaces:
- OperationType
public class OperationTypeImpl
- extends java.lang.Object
- implements OperationType
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationTypeImpl
public OperationTypeImpl(AutomationService service,
java.lang.Class<?> type)
getService
public AutomationService getService()
- Description copied from interface:
OperationType
- Gets the service that registered that type.
- Specified by:
getService
in interface OperationType
getId
public java.lang.String getId()
- Specified by:
getId
in interface OperationType
getType
public java.lang.Class<?> getType()
- Specified by:
getType
in interface OperationType
getProduces
public java.util.Set<java.lang.Class<?>> getProduces()
- Specified by:
getProduces
in interface OperationType
getConsumes
public java.util.Set<java.lang.Class<?>> getConsumes()
- Specified by:
getConsumes
in interface OperationType
newInstance
public java.lang.Object newInstance(OperationContext ctx,
java.util.Map<java.lang.String,java.lang.Object> args)
throws java.lang.Exception
- Specified by:
newInstance
in interface OperationType
- Throws:
java.lang.Exception
inject
public void inject(OperationContext ctx,
java.util.Map<java.lang.String,java.lang.Object> args,
java.lang.Object target)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMethods
public java.util.List<InvokableMethod> getMethods()
getMethodsMatchingInput
public InvokableMethod[] getMethodsMatchingInput(java.lang.Class<?> in)
getDocumentation
public OperationDocumentation getDocumentation()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.