Enum Class FilterType

java.lang.Object
java.lang.Enum<FilterType>
nz.org.riskscape.wizard.model2.input.FilterType
All Implemented Interfaces:
Serializable, Comparable<FilterType>, Constable

public enum FilterType extends Enum<FilterType>
  • Enum Constant Details

    • BY_EXPRESSION

      public static final FilterType BY_EXPRESSION

      Filter a layer by a given expression, e.g. exposure.construction = 'steel'.

    • BY_FEATURE_IN_LAYER

      public static final FilterType BY_FEATURE_IN_LAYER

      Pick a feature in a given layer and filter out any exposures that intersect it, e.g. filter by Northland region.

    • BY_LAYER_BOUNDS

      public static final FilterType BY_LAYER_BOUNDS

      Filter by the bounds of another layer, e.g. filter the exposures that fall within the bounds of the hazard.

  • Method Details

    • values

      public static FilterType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FilterType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null