public class ChainTypeImpl extends Object implements OperationType
Constructor and Description |
---|
ChainTypeImpl(AutomationService service,
OperationChain chain) |
ChainTypeImpl(AutomationService service,
OperationChain chain,
OperationChainContribution contribution) |
Modifier and Type | Method and Description |
---|---|
String[] |
getAliases()
The operation ID Aliases array.
|
OperationChain |
getChain() |
Map<String,Object> |
getChainParameters() |
String |
getContributingComponent()
Gets the name of the component that contributed the operation
|
OperationChainContribution |
getContribution() |
OperationDocumentation |
getDocumentation() |
String |
getId() |
List<InvokableMethod> |
getMethods() |
InvokableMethod[] |
getMethodsMatchingInput(Class<?> in) |
Class<?> |
getOperationOutput(Class<?> input,
OperationType operationType) |
AutomationService |
getService()
Gets the service that registered that type.
|
Class<?> |
getType() |
Object |
newInstance(OperationContext ctx,
Map<String,Object> args) |
String |
toString() |
public ChainTypeImpl(AutomationService service, OperationChain chain)
public ChainTypeImpl(AutomationService service, OperationChain chain, OperationChainContribution contribution)
public OperationChain getChain()
public Object newInstance(OperationContext ctx, Map<String,Object> args) throws OperationNotFoundException, InvalidChainException
newInstance
in interface OperationType
OperationNotFoundException
InvalidChainException
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 OperationDocumentation getDocumentation() throws OperationException
getDocumentation
in interface OperationType
OperationException
public Class<?> getOperationOutput(Class<?> input, OperationType operationType)
public String getContributingComponent()
OperationType
getContributingComponent
in interface OperationType
public InvokableMethod[] getMethodsMatchingInput(Class<?> in)
getMethodsMatchingInput
in interface OperationType
public OperationChainContribution getContribution()
public List<InvokableMethod> getMethods()
getMethods
in interface OperationType
Copyright © 2015 Nuxeo SA. All rights reserved.