Deprecate RulesList, prepare to drop the class.
This commit is contained in:
parent
e7bb65ecff
commit
dcfe56c004
|
|
@ -16,9 +16,11 @@
|
|||
|
||||
package jetbrains.mps.logic.reactor.program;
|
||||
|
||||
import javaslang.collection.Stream;
|
||||
import jetbrains.mps.logic.reactor.core.RulesDiff;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* A collection of rulesLists that constitute a constraint rules program.
|
||||
|
|
@ -29,11 +31,11 @@ public abstract class Program {
|
|||
|
||||
public abstract String name();
|
||||
|
||||
@Deprecated
|
||||
public abstract Iterable<RulesList> rulesLists();
|
||||
|
||||
public abstract PreambleInfo preambleInfo();
|
||||
|
||||
|
||||
public Program withRulesDiff(RulesDiff diff) { return this; };
|
||||
|
||||
public RulesDiff incrementalDiff() { return RulesDiff.emptyDiff(); };
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ package jetbrains.mps.logic.reactor.program;
|
|||
|
||||
/**
|
||||
* A container for rules.
|
||||
*
|
||||
* @author Fedor Isakov
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class RulesList {
|
||||
|
||||
public abstract String name();
|
||||
|
|
|
|||
Loading…
Reference in New Issue