Enum SoftwareComponentCategory

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DEFAULT
      Version information about such components are displayed in the about dialog.
      DETAIL
      Version information about such components are displayed in the detail section of the about dialog or not at all.
      MAIN
      There should be exactly one MAIN component.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SoftwareComponentCategory valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SoftwareComponentCategory[] 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

      • MAIN

        public static final SoftwareComponentCategory MAIN
        There should be exactly one MAIN component. This information is used to identify your client on the server. Version information about this components might be displayed more prominently.
      • DEFAULT

        public static final SoftwareComponentCategory DEFAULT
        Version information about such components are displayed in the about dialog.
      • DETAIL

        public static final SoftwareComponentCategory DETAIL
        Version information about such components are displayed in the detail section of the about dialog or not at all.
    • Method Detail

      • values

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

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