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

domino.java.capsule.Capsule Maven / Gradle / Ivy

There is a newer version: 0.3.1
Show newest version
package domino.java.capsule;

/**
 * A capsule represents something which is startable and stoppable.
 * 
 * After being started and before being stopped, the capsule is active.
 * Otherwise, it's inactive.
 */
public interface Capsule {
	/**
	 * Starts the capsule.
	 * After that, the capsule is active.
	 */
	void start();

	/**
	 * Stops the capsule.
	 * After that, the capsule is inactive.
	 */
	void stop();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy