public final class FilterStartResult extends Object
TreeFilter
. The result tells the analysis whether to let
the element pass or not to the next stage but also whether to descend to its children or not.public static FilterStartResult matchAndDescend()
public static FilterStartResult matchAndDescendInherited()
public static FilterStartResult undecidedAndDescend()
public static FilterStartResult doesntMatch()
public static FilterStartResult doesntMatchAndDescend()
public static FilterStartResult direct(FilterMatch match, boolean descend)
public static FilterStartResult inherit(FilterStartResult parent)
public static FilterStartResult from(FilterMatch match, boolean descend, boolean inherited)
public static FilterStartResult from(FilterFinishResult result, boolean descend)
public FilterMatch getMatch()
public boolean isDescend()
public boolean isInherited()
public FilterStartResult and(FilterStartResult other)
public FilterStartResult and(Iterable<FilterStartResult> others)
public FilterStartResult or(FilterStartResult other)
public FilterStartResult or(Iterable<FilterStartResult> others)
public FilterStartResult negateMatch()
public FilterStartResult withMatch(FilterMatch match)
public FilterStartResult withDescend(boolean descend)
public FilterStartResult withInherited(boolean inherited)
Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.