Enum MetricCategory

  • All Implemented Interfaces:
    Serializable, Comparable<MetricCategory>

    public enum MetricCategory
    extends Enum<MetricCategory>

    Java class for MetricCategory.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="MetricCategory">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="Unspec"/>
         <enumeration value="Msrmt"/>
         <enumeration value="Clc"/>
         <enumeration value="Set"/>
         <enumeration value="Preset"/>
         <enumeration value="Rcmm"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • UNSPEC

        public static final MetricCategory UNSPEC
        Unspec = Unspecified. None of the categories in MetricCategory is valid for the METRIC.
      • MSRMT

        public static final MetricCategory MSRMT
        Msrmt = Measurement. The METRIC has been derived by measurement.
      • CLC

        public static final MetricCategory CLC
        Clc = Calculation. The METRIC has been derived by calculation only.
      • SET

        public static final MetricCategory SET
        Set = Setting. The METRIC has a value that is adjustable by some (local or remote) control means.
      • PRESET

        public static final MetricCategory PRESET
        Preset = Presetting. The METRIC has a value that is adjustable by some (local or remote) control means. Once the value is adjusted, it remains a Preset until committed, at which point it becomes a setting. Related settings MAY be defined by using pm:AbstractMetricDescriptor/pm:Relation.
      • RCMM

        public static final MetricCategory RCMM
        Rcmm = Recommendation. The METRIC is a proposal for a setting or presetting. The related setting or presetting MAY be defined by using pm:AbstractMetricDescriptor/pm:Relation.
    • Method Detail

      • values

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

        public static MetricCategory 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()