public class OperationTypeImpl extends Object implements OperationType
Constructor and Description |
---|
OperationTypeImpl() |
OperationTypeImpl(AutomationService service,
Class<?> type) |
OperationTypeImpl(AutomationService service,
Class<?> type,
String contributingComponent) |
OperationTypeImpl(AutomationService service,
Class<?> type,
String contributingComponent,
List<WidgetDefinition> widgetDefinitionList) |
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() |
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 OperationTypeImpl(AutomationService service, Class<?> type, String contributingComponent, List<WidgetDefinition> widgetDefinitionList)
public OperationTypeImpl()
public AutomationService getService()
OperationType
getService
in interface OperationType
public String getId()
getId
in interface OperationType
public String[] getAliases()
OperationType
getAliases
in interface OperationType
public Class<?> getType()
getType
in interface OperationType
public Object newInstance(OperationContext ctx, Map<String,Object> args) throws OperationException
newInstance
in interface OperationType
OperationException
public void inject(OperationContext ctx, Map<String,Object> args, Object target) throws OperationException
OperationException
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 © 2015 Nuxeo SA. All rights reserved.