public class ScriptingOperationTypeImpl extends Object implements OperationType
Modifier and Type | Field and Description |
---|---|
protected AutomationService |
automation |
protected ScriptingOperationDescriptor |
desc |
protected InvokableMethod |
method |
protected AutomationScriptingService |
scripting |
Constructor and Description |
---|
ScriptingOperationTypeImpl(AutomationScriptingServiceImpl scripting,
AutomationService automation,
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) |
protected InvokableMethod |
runMethod() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, getInputType, hashCode, typeof
protected final AutomationScriptingService scripting
protected final AutomationService automation
protected final ScriptingOperationDescriptor desc
protected final InvokableMethod method
public ScriptingOperationTypeImpl(AutomationScriptingServiceImpl scripting, AutomationService automation, ScriptingOperationDescriptor desc) throws ScriptingException
ScriptingException
public String getContributingComponent()
OperationType
getContributingComponent
in interface OperationType
public OperationDocumentation getDocumentation()
getDocumentation
in interface OperationType
public String getId()
getId
in interface OperationType
public String[] getAliases()
OperationType
getAliases
in interface OperationType
public Object newInstance(OperationContext ctx, Map<String,Object> args) throws OperationException
newInstance
in interface OperationType
OperationException
public Class<?> getType()
getType
in interface OperationType
public AutomationService getService()
OperationType
getService
in interface OperationType
public InvokableMethod[] getMethodsMatchingInput(Class<?> in)
getMethodsMatchingInput
in interface OperationType
public List<InvokableMethod> getMethods()
getMethods
in interface OperationType
protected InvokableMethod runMethod()
Copyright © 2017 Nuxeo. All rights reserved.