fr_b02 / petri / src / arcElement / ArcInterface.java @ 6
Historique | Voir | Annoter | Télécharger (367 octets)
1 | 4 | a19coudr | package arcElement; |
---|---|---|---|
2 | 6 | a19coudr | /**
|
3 | * Method that an arc must define
|
||
4 | *
|
||
5 | */
|
||
6 | 2 | a19coudr | public interface ArcInterface { |
7 | 6 | a19coudr | /**
|
8 | * Method that do the transition
|
||
9 | *
|
||
10 | */
|
||
11 | 2 | a19coudr | public void doTransition(); |
12 | 6 | a19coudr | /**
|
13 | * Method that check if it is pullable
|
||
14 | *
|
||
15 | */
|
||
16 | 2 | a19coudr | public boolean isPullable(); |
17 | 6 | a19coudr | /**
|
18 | * Method that check if it is active
|
||
19 | *
|
||
20 | */
|
||
21 | 2 | a19coudr | public boolean isActive(); |
22 | |||
23 | } |