jadex.bpmn.examples.service.ICalculatorService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-bpmn Show documentation
Show all versions of jadex-applications-bpmn Show documentation
The Jadex bpmn applications package contains several example applications, benchmarks and testcases using bpmn workflows.
package jadex.bpmn.examples.service;
import jadex.commons.future.IFuture;
/**
* Service provided by the process.
*/
public interface ICalculatorService
{
/**
* Add two values.
*/
public IFuture addValues(int a, int b);
/**
* Add three values.
*/
public IFuture addValues(int a, int b, int c);
/**
* Subtract b from a.
* @param a The first value.
* @param b The value to subtract from the first.
*/
public IFuture subtractValues(int a, int b);
/**
* Method produces an exception.
*/
public IFuture broken(int a);
}