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

jadex.rules.eca.IRule Maven / Gradle / Ivy

There is a newer version: 4.0.267
Show newest version
package jadex.rules.eca;

import java.util.List;

/**
 *  Interface for a rule.
 *  Has a 
 *  - name
 *  - event types it reacts to
 *  - condition, lhs of the rule
 *  - action, rhs of the rule
 */
public interface IRule
{
	/**
	 *  Get the rule name.
	 *  @return The rule name.
	 */
	public String getName();

	/**
	 *  Get the event types this rule reactes to.
	 *  @return The event types.
	 */
	public List getEvents();
	
	/**
	 *  Get the condition of the rule.
	 *  @return The condition.
	 */
	public ICondition getCondition();
	
	/**
	 *  Get the action of the rule.
	 *  @return The action.
	 */
	public IAction getAction();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy