Class BpmnInterface
- java.lang.Object
-
- org.activiti.engine.impl.bpmn.webservice.BpmnInterface
-
public class BpmnInterface extends java.lang.ObjectAn Interface defines a set of operations that are implemented by services external to the process.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringidprotected BpmnInterfaceImplementationimplementationprotected java.lang.Stringnameprotected java.util.Map<java.lang.String,Operation>operationsMapping of the operations of this interface.
-
Constructor Summary
Constructors Constructor Description BpmnInterface()BpmnInterface(java.lang.String id, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOperation(Operation operation)java.lang.StringgetId()BpmnInterfaceImplementationgetImplementation()java.lang.StringgetName()OperationgetOperation(java.lang.String operationId)java.util.Collection<Operation>getOperations()voidsetId(java.lang.String id)voidsetImplementation(BpmnInterfaceImplementation implementation)voidsetName(java.lang.String name)
-
-
-
Field Detail
-
id
protected java.lang.String id
-
name
protected java.lang.String name
-
implementation
protected BpmnInterfaceImplementation implementation
-
operations
protected java.util.Map<java.lang.String,Operation> operations
Mapping of the operations of this interface. The key of the map is the id of the operation, for easy retrieval.
-
-
Method Detail
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
addOperation
public void addOperation(Operation operation)
-
getOperation
public Operation getOperation(java.lang.String operationId)
-
getOperations
public java.util.Collection<Operation> getOperations()
-
getImplementation
public BpmnInterfaceImplementation getImplementation()
-
setImplementation
public void setImplementation(BpmnInterfaceImplementation implementation)
-
-