public class OperationTypeImpl extends Object implements OperationType
Constructor and Description |
---|
OperationTypeImpl(AutomationService service,
Class<?> type) |
OperationTypeImpl(AutomationService service,
Class<?> type,
String contributingComponent) |
Modifier and Type | Method and Description |
---|---|
String |
getContributingComponent()
Gets the name of the component that contributed the operation
|
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) |
String |
toString() |
public OperationTypeImpl(AutomationService service, Class<?> type)
public OperationTypeImpl(AutomationService service, Class<?> type, String contributingComponent)
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 InvokableMethod[] getMethodsMatchingInput(Class<?> in)
getMethodsMatchingInput
in interface OperationType
public OperationDocumentation getDocumentation()
getDocumentation
in interface OperationType
public String getContributingComponent()
OperationType
getContributingComponent
in interface OperationType
public List<InvokableMethod> getMethods()
getMethods
in interface OperationType
Copyright © 2013 Nuxeo SA. All Rights Reserved.