All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bpmn.testcases.AService Maven / Gradle / Ivy

Go to download

The Jadex bpmn applications package contains several example applications, benchmarks and testcases using bpmn workflows.

There is a newer version: 4.0.267
Show newest version
package jadex.bpmn.testcases;

import jadex.bridge.service.annotation.Service;
import jadex.commons.future.Future;
import jadex.commons.future.IFuture;

/**
 * 
 */
@Service
public class AService implements IAService
{
	/** The test string. */
	protected String test;
	
	/**
	 *  Create a new service.
	 */
	public AService() 
	{
		this.test = "no value";
	}
	
	/**
	 *  Create a new service.
	 */
	public AService(String test) 
	{
		this.test = test;
	}

	/**
	 *  Test method.
	 */
	public IFuture test()
	{
		System.out.println("val: "+test);
		return new Future(test);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy