diff options
Diffstat (limited to 'subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/backend/IMatcherCapability.java')
-rw-r--r-- | subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/backend/IMatcherCapability.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/backend/IMatcherCapability.java b/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/backend/IMatcherCapability.java new file mode 100644 index 00000000..104b68a8 --- /dev/null +++ b/subprojects/viatra-runtime/src/main/java/tools/refinery/viatra/runtime/matchers/backend/IMatcherCapability.java | |||
@@ -0,0 +1,26 @@ | |||
1 | /******************************************************************************* | ||
2 | * Copyright (c) 2010-2016, Grill Balázs, IncQuery Labs Ltd. | ||
3 | * This program and the accompanying materials are made available under the | ||
4 | * terms of the Eclipse Public License v. 2.0 which is available at | ||
5 | * http://www.eclipse.org/legal/epl-v20.html. | ||
6 | * | ||
7 | * SPDX-License-Identifier: EPL-2.0 | ||
8 | *******************************************************************************/ | ||
9 | package tools.refinery.viatra.runtime.matchers.backend; | ||
10 | |||
11 | /** | ||
12 | * Implementations of this interface can be used to decide whether a matcher created by an arbitrary backend can | ||
13 | * potentially be used as a substitute for another matcher. | ||
14 | * | ||
15 | * @author Grill Balázs | ||
16 | * @since 1.4 | ||
17 | * | ||
18 | */ | ||
19 | public interface IMatcherCapability { | ||
20 | |||
21 | /** | ||
22 | * Returns true if matchers of this capability can be used as a substitute for a matcher implementing the given capability | ||
23 | */ | ||
24 | public boolean canBeSubstitute(IMatcherCapability capability); | ||
25 | |||
26 | } | ||