Enum OSFamily

    • Enum Constant Detail

      • LINUX

        public static final OSFamily LINUX
        Enum value Linux.
      • WINDOWS

        public static final OSFamily WINDOWS
        Enum value Windows.
      • ANDROID

        public static final OSFamily ANDROID
        Enum value Android.
      • IOS

        public static final OSFamily IOS
        Enum value IOS.
      • UNKNOWN

        public static final OSFamily UNKNOWN
        Enum value Unknown.
    • Method Detail

      • values

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

        public static OSFamily 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
      • fromString

        public static OSFamily fromString​(String value)
        Parses a serialized value to a OSFamily instance.
        Parameters:
        value - the serialized value to parse.
        Returns:
        the parsed OSFamily object, or null if unable to parse.