blob: 4de482f0ddca79bc3c963a03fa00430a823a17c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* SPDX-FileCopyrightText: 2023 The Refinery Authors <https://refinery.tools/>
*
* SPDX-License-Identifier: EPL-2.0
*/
package tools.refinery.store.dse.modification.actions;
import tools.refinery.store.dse.modification.DanglingEdges;
import tools.refinery.logic.term.NodeVariable;
public class ModificationActionLiterals {
private ModificationActionLiterals() {
throw new IllegalArgumentException("This is a static utility class and should not be instantiated directly");
}
public static CreateActionLiteral create(NodeVariable variable) {
return new CreateActionLiteral(variable);
}
public static DeleteActionLiteral delete(NodeVariable variable, DanglingEdges danglingEdges) {
return new DeleteActionLiteral(variable, danglingEdges);
}
}
|