Package com.uc4.api

Enum PlatformSwHwType

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

    public enum PlatformSwHwType
    extends java.lang.Enum<PlatformSwHwType>
    Combined type of Platform, SW, HW of the file.
    • Method Detail

      • values

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

        public static PlatformSwHwType 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
      • getValue

        public java.lang.String getValue()
        Returns the string-representation.
        Returns:
        String representation
      • getPlatform

        public java.lang.String getPlatform()
        Return the platform.
        Returns:
        The platform as String
      • getSw

        public java.lang.String getSw()
        Return the SW.
        Returns:
        The SW as String
      • getHw

        public java.lang.String getHw()
        Return the HW.
        Returns:
        The HW as String
      • parse

        public static PlatformSwHwType parse​(java.lang.String platform,
                                             java.lang.String sw,
                                             java.lang.String hw)
        Parse the single components Platform, SW, HW into the combined type.
        Parameters:
        platform - Platform as String
        sw - Software as String
        hw - Hardware as String
        Returns:
        Combined type of Platform_SW_HW, null if it cannot be parsed