Enum ShadowCheckType

  • All Implemented Interfaces:
    Serializable, Comparable<ShadowCheckType>

    public enum ShadowCheckType
    extends Enum<ShadowCheckType>
    Shadow constraint uniqueness setting. It mostly applies to shadow uniqueness. Uniqueness is checked by the resource under normal circumstances. This option can be used to turn on additional checks. Those checks may be needed to diagnose configuration issues or bugs (e.g. "duplicate shadow" problems). Or it may be used in case that the resource cannot check uniqueness by itself (e.g. in case of manual or asynchronous resources).
    • Enum Constant Detail

      • LIGHT

        public static final ShadowCheckType LIGHT
        Light checks only. E.g. the shadow uniqueness will be checked only once when new shadow is created.
    • Method Detail

      • values

        public static ShadowCheckType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ShadowCheckType c : ShadowCheckType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ShadowCheckType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()