Enum StatTriggerField

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<StatTriggerField>

    public enum StatTriggerField
    extends java.lang.Enum<StatTriggerField>
    Stat fields are supported default by OXS.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BYTE_COUNT
      Number of bytes in flow entry.
      DURATION
      Time flow entry has been alive.
      FLOW_COUNT
      Number of aggregated flow entries.
      IDLE_TIME
      Time flow entry has been idle.
      PACKET_COUNT
      Number of packets in flow entry.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static StatTriggerField valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static StatTriggerField[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • DURATION

        public static final StatTriggerField DURATION
        Time flow entry has been alive. Unit indicates nanoseconds.
      • IDLE_TIME

        public static final StatTriggerField IDLE_TIME
        Time flow entry has been idle. Unit indicates nanoseconds.
      • FLOW_COUNT

        public static final StatTriggerField FLOW_COUNT
        Number of aggregated flow entries.
      • PACKET_COUNT

        public static final StatTriggerField PACKET_COUNT
        Number of packets in flow entry.
      • BYTE_COUNT

        public static final StatTriggerField BYTE_COUNT
        Number of bytes in flow entry.
    • Method Detail

      • values

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

        public static StatTriggerField valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null