Enum ScheduleExpressionType

    • Enum Constant Detail

      • SINGLE_VALUE

        public static final ScheduleExpressionType SINGLE_VALUE
        Represents a single value type.

        For example:

        • second = "10"
        • month = "Jun"

      • WILDCARD

        public static final ScheduleExpressionType WILDCARD
        Represents a wildcard "*" value.

        For example:

        • second = "*"

      • LIST

        public static final ScheduleExpressionType LIST
        Represents a value represented as a list.

        For example:

        • second = "1, 10"
        • dayOfMonth = "Sun, Fri, Mon"
      • RANGE

        public static final ScheduleExpressionType RANGE
        Represents a value represented as a range.

        For example:

        • minute = "0-15"
        • year = "2009-2012

      • INCREMENT

        public static final ScheduleExpressionType INCREMENT
        Represents a value represented as an increment.

        For example:

        • hour = "* / 3"
        • minute = "20 / 10

    • Method Detail

      • values

        public static ScheduleExpressionType[] 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 (ScheduleExpressionType c : ScheduleExpressionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ScheduleExpressionType 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