Package jadex.bpmn.examples.service
Interface ICalculatorService
-
public interface ICalculatorService
Service provided by the process.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Integer>
addValues(int a, int b)
Add two values.IFuture<java.lang.Integer>
addValues(int a, int b, int c)
Add three values.IFuture<java.lang.Void>
broken(int a)
Method produces an exception.IFuture<java.lang.Integer>
subtractValues(int a, int b)
Subtract b from a.
-
-
-
Method Detail
-
addValues
IFuture<java.lang.Integer> addValues(int a, int b)
Add two values.
-
addValues
IFuture<java.lang.Integer> addValues(int a, int b, int c)
Add three values.
-
subtractValues
IFuture<java.lang.Integer> subtractValues(int a, int b)
Subtract b from a.- Parameters:
a
- The first value.b
- The value to subtract from the first.
-
broken
IFuture<java.lang.Void> broken(int a)
Method produces an exception.
-
-