1 package net.sf.gridarta.model.filter;
3 import java.util.Arrays;
4 import java.util.Collections;
7 import org.jetbrains.annotations.NotNull;
8 import org.junit.Assert;
14 @SuppressWarnings(
"JavaDoc")
71 Assert.assertEquals(
"(f1=(enabled),f2=(enabled))",
new FilterConfigEncoder().encode(config));
A Filter that aggregates named filters.
This package contains classes related to matching GameObjects, so called GameObjectMatchers.
void encodeSubFilterConfig2()
void setEnabled(boolean enabled)
Enables or disables the filter.
A Filter which filters according to a net.sf.gridarta.model.match.NamedGameObjectMatcher.
void setEnabled(final boolean enabled)
Decorates an arbitrary GameObjectMatcher with a localized name that is suitable for the user interfac...
Converts FilterConfig into string representation.
Base package of all Gridarta classes.
void encodeSubFilterConfig1()
NamedGameObjectMatcherFilterConfig createConfig()
Regression tests for FilterConfigEncoder.
void encodeNamedFilter1()
void encodeNamedGameObjectMatcherFilter1()
FilterConfig<?, ?> getConfig(@NotNull final String name)
Returns the FilterConfig for a sub-filter.
An GameObjectMatcher matching certain archetype types.
Filter configuration of NamedGameObjectMatcherFilter instances.
void setInverted(final boolean inverted)
Sets whether the filter should match if all sub-filters match or if at least one sub-filter does not ...
A FilterConfig that has a name.