com.hp.lft.report

Enum ReportLevel

  • java.lang.Object
    • java.lang.Enum<ReportLevel>
      • com.hp.lft.report.ReportLevel
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ReportLevel>


    public enum ReportLevel
    extends java.lang.Enum<ReportLevel>
    The possible levels for reporting events to the UFT Developer report.
    • Enum Constant Summary

      Enum Constant and Description
      All
      Report events from all levels.
      Error
      Report only events with the status Error.
      Off
      Disable all report levels.
      Warning
      Report only events with the status Warning or Error.
    • Method Summary

      Modifier and TypeMethod and Description
      static ReportLevelvalueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ReportLevel[]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

      • All

        public static final ReportLevel All
        Report events from all levels.
      • Warning

        public static final ReportLevel Warning
        Report only events with the status Warning or Error.
      • Error

        public static final ReportLevel Error
        Report only events with the status Error.
      • Off

        public static final ReportLevel Off
        Disable all report levels. A UFT Developer report is not created.
    • Method Detail

      • values

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

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