![JAR search and dependency download from the Maven repository](/logo.png)
com.patternity.graphic.behavioral.Event Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartrics-RestFixtureExtensions Show documentation
Show all versions of smartrics-RestFixtureExtensions Show documentation
Extensions of the RestFixture.
An extension is a RestFixture with some specific/bespoke behaviour not generic enough to make it to the RestFixture itself.
The newest version!
package com.patternity.graphic.behavioral;
/**
* Represents any dynamic event that can happen. It can be overall for every
* agent (e-g. loop or general comment), or assigned to one particular agent
* (e-g. Message).
*
* @author cyrille martraire
*/
public class Event {
private final int kind;
private final Agent target;
public Event(int kind, Agent target) {
this.kind = kind;
this.target = target;
}
public Agent getTarget() {
return target;
}
public int getKind() {
return kind;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy