]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.runtime/src/org/simantics/scl/runtime/chr/Fact.java
Merged changes from feature/scl to master.
[simantics/platform.git] / bundles / org.simantics.scl.runtime / src / org / simantics / scl / runtime / chr / Fact.java
1 package org.simantics.scl.runtime.chr;\r
2 \r
3 public interface Fact {\r
4     /**\r
5      * Activates the fact with the given priority. The method returns\r
6      * the new priority of the fact or a negative number if the fact\r
7      * is deactivated.\r
8      */\r
9     int activate(Object context, int priority);\r
10     boolean isAlive();\r
11 }\r