diff options
Diffstat (limited to 'subprojects/viatra-runtime-base/src/main/java/tools/refinery/viatra/runtime/base/api/filters/IBaseIndexObjectFilter.java')
-rw-r--r-- | subprojects/viatra-runtime-base/src/main/java/tools/refinery/viatra/runtime/base/api/filters/IBaseIndexObjectFilter.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/subprojects/viatra-runtime-base/src/main/java/tools/refinery/viatra/runtime/base/api/filters/IBaseIndexObjectFilter.java b/subprojects/viatra-runtime-base/src/main/java/tools/refinery/viatra/runtime/base/api/filters/IBaseIndexObjectFilter.java new file mode 100644 index 00000000..e1e46bbd --- /dev/null +++ b/subprojects/viatra-runtime-base/src/main/java/tools/refinery/viatra/runtime/base/api/filters/IBaseIndexObjectFilter.java | |||
@@ -0,0 +1,30 @@ | |||
1 | /******************************************************************************* | ||
2 | * Copyright (c) 2010-2014, Zoltan Ujhelyi, Istvan Rath and Daniel Varro | ||
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.base.api.filters; | ||
10 | |||
11 | import org.eclipse.emf.common.notify.Notifier; | ||
12 | |||
13 | /** | ||
14 | * | ||
15 | * Stores a collection of {@link Notifier} instances that need not to be indexed by VIATRA Base. | ||
16 | * | ||
17 | * @author Zoltan Ujhelyi | ||
18 | * | ||
19 | */ | ||
20 | public interface IBaseIndexObjectFilter { | ||
21 | |||
22 | /** | ||
23 | * Decides whether the selected notifier is filtered. | ||
24 | * | ||
25 | * @param notifier | ||
26 | * @return true, if the notifier should not be indexed | ||
27 | */ | ||
28 | boolean isFiltered(Notifier notifier); | ||
29 | |||
30 | } \ No newline at end of file | ||