public class ScriptingOperationTypeImpl extends OperationTypeImpl
Constructor and Description |
---|
ScriptingOperationTypeImpl(AutomationService service,
ScriptingOperationDescriptor desc) |
Modifier and Type | Method and Description |
---|---|
String[] |
getAliases()
The operation ID Aliases array.
|
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() |
Object |
newInstance(OperationContext ctx,
Map<String,Object> args) |
inject, toString
public ScriptingOperationTypeImpl(AutomationService service, ScriptingOperationDescriptor desc)
public String getContributingComponent()
OperationType
getContributingComponent
in interface OperationType
getContributingComponent
in class OperationTypeImpl
public OperationDocumentation getDocumentation()
getDocumentation
in interface OperationType
getDocumentation
in class OperationTypeImpl
public String getId()
getId
in interface OperationType
getId
in class OperationTypeImpl
public String[] getAliases()
OperationType
getAliases
in interface OperationType
getAliases
in class OperationTypeImpl
public List<InvokableMethod> getMethods()
getMethods
in interface OperationType
getMethods
in class OperationTypeImpl
public InvokableMethod[] getMethodsMatchingInput(Class<?> in)
getMethodsMatchingInput
in interface OperationType
getMethodsMatchingInput
in class OperationTypeImpl
public AutomationService getService()
OperationType
getService
in interface OperationType
getService
in class OperationTypeImpl
public Class<?> getType()
getType
in interface OperationType
getType
in class OperationTypeImpl
public Object newInstance(OperationContext ctx, Map<String,Object> args) throws OperationException
newInstance
in interface OperationType
newInstance
in class OperationTypeImpl
OperationException
Copyright © 2015 Nuxeo SA. All rights reserved.