Enum SortStyle

    • Enum Constant Detail

      • SEVERITY

        public static final SortStyle SEVERITY
      • LASTEVENTTIME

        public static final SortStyle LASTEVENTTIME
      • FIRSTEVENTTIME

        public static final SortStyle FIRSTEVENTTIME
      • INTERFACE

        public static final SortStyle INTERFACE
      • SERVICE

        public static final SortStyle SERVICE
      • POLLER

        public static final SortStyle POLLER
      • ACKUSER

        public static final SortStyle ACKUSER
      • LOCATION

        public static final SortStyle LOCATION
      • NODE_LOCATION

        public static final SortStyle NODE_LOCATION
      • SITUATION

        public static final SortStyle SITUATION
      • REVERSE_SEVERITY

        public static final SortStyle REVERSE_SEVERITY
      • REVERSE_LASTEVENTTIME

        public static final SortStyle REVERSE_LASTEVENTTIME
      • REVERSE_FIRSTEVENTTIME

        public static final SortStyle REVERSE_FIRSTEVENTTIME
      • REVERSE_NODE

        public static final SortStyle REVERSE_NODE
      • REVERSE_INTERFACE

        public static final SortStyle REVERSE_INTERFACE
      • REVERSE_SERVICE

        public static final SortStyle REVERSE_SERVICE
      • REVERSE_POLLER

        public static final SortStyle REVERSE_POLLER
      • REVERSE_ID

        public static final SortStyle REVERSE_ID
      • REVERSE_COUNT

        public static final SortStyle REVERSE_COUNT
      • REVERSE_ACKUSER

        public static final SortStyle REVERSE_ACKUSER
      • REVERSE_LOCATION

        public static final SortStyle REVERSE_LOCATION
      • REVERSE_NODE_LOCATION

        public static final SortStyle REVERSE_NODE_LOCATION
      • REVERSE_SITUATION

        public static final SortStyle REVERSE_SITUATION
    • Method Detail

      • values

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

        public static SortStyle 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
      • getName

        public String getName()

        getName

        Returns:
        a String object.
      • getShortName

        public String getShortName()

        getShortName

        Returns:
        a String object.
      • getSortStyle

        public static SortStyle getSortStyle​(String sortStyleString)

        getSortStyle

        Parameters:
        sortStyleString - a String object.
        Returns:
        a SortStyle object.
      • getOrderByClause

        protected String getOrderByClause()
        Convenience method for getting the SQL ORDER BY clause related to a given sort style.
        Returns:
        a String object.