public enum FilteringStrategy extends Enum<FilteringStrategy>
FilteringStrategy allows to describe how are managed the undecided
cases. An undecided case happen when both supporting Filters and
rejecting Filters are found, as well as no supporter nor rejector is
found. In such a case, different needs implies different management
strategies, and simple strategies are represented by one of these
FilteringStrategys.| Enum Constant and Description |
|---|
CONSERVATIVE
When an undecided case happen, we consider the element to be supported.
|
EXPEDITIVE
When an undecided case happen, we consider the element to be rejected.
|
EXPLICIT
When an undecided case happen, we throw an exception.
|
| Modifier and Type | Method and Description |
|---|---|
static FilteringStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilteringStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilteringStrategy CONSERVATIVE
public static final FilteringStrategy EXPEDITIVE
public static final FilteringStrategy EXPLICIT
public static FilteringStrategy[] values()
for (FilteringStrategy c : FilteringStrategy.values()) System.out.println(c);
public static FilteringStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2015. All rights reserved.