public class OperationTypeImpl extends Object implements OperationType
Constructor and Description |
---|
OperationTypeImpl(AutomationService service,
Class<?> type) |
Modifier and Type | Method and Description |
---|---|
OperationDocumentation |
getDocumentation() |
String |
getId() |
List<InvokableMethod> |
getMethods() |
InvokableMethod[] |
getMethodsMatchingInput(Class<?> in) |
AutomationService |
getService()
Gets the service that registered that type.
|
Class<?> |
getType() |
void |
inject(OperationContext ctx,
Map<String,Object> args,
Object target) |
Object |
newInstance(OperationContext ctx,
Map<String,Object> args) |
public OperationTypeImpl(AutomationService service, Class<?> type)
public AutomationService getService()
OperationType
getService
in interface OperationType
public String getId()
getId
in interface OperationType
public Class<?> getType()
getType
in interface OperationType
public Object newInstance(OperationContext ctx, Map<String,Object> args) throws Exception
newInstance
in interface OperationType
Exception
public void inject(OperationContext ctx, Map<String,Object> args, Object target) throws Exception
Exception
public List<InvokableMethod> getMethods()
public InvokableMethod[] getMethodsMatchingInput(Class<?> in)
public OperationDocumentation getDocumentation()
getDocumentation
in interface OperationType
Copyright © 2011 Nuxeo SA. All Rights Reserved.