Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.automation.core.impl
Class OperationTypeImpl

java.lang.Object
  extended by org.nuxeo.ecm.automation.core.impl.OperationTypeImpl
All Implemented Interfaces:
OperationType

public class OperationTypeImpl
extends java.lang.Object
implements OperationType

Author:
Bogdan Stefanescu

Constructor Summary
OperationTypeImpl(AutomationService service, java.lang.Class<?> type)
           
 
Method Summary
 java.util.Set<java.lang.Class<?>> getConsumes()
           
 OperationDocumentation getDocumentation()
           
 java.lang.String getId()
           
 java.util.List<InvokableMethod> getMethods()
           
 InvokableMethod[] getMethodsMatchingInput(java.lang.Class<?> in)
           
 java.util.Set<java.lang.Class<?>> getProduces()
           
 AutomationService getService()
          Gets the service that registered that type.
 java.lang.Class<?> getType()
           
 void inject(OperationContext ctx, java.util.Map<java.lang.String,java.lang.Object> args, java.lang.Object target)
           
 java.lang.Object newInstance(OperationContext ctx, java.util.Map<java.lang.String,java.lang.Object> args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationTypeImpl

public OperationTypeImpl(AutomationService service,
                         java.lang.Class<?> type)
Method Detail

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()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.