Package com.uc4.api

Enum Class PlatformSwHwType

java.lang.Object
java.lang.Enum<PlatformSwHwType>
com.uc4.api.PlatformSwHwType
All Implemented Interfaces:
Serializable, Comparable<PlatformSwHwType>, Constable

public enum PlatformSwHwType extends Enum<PlatformSwHwType>
Combined type of Platform, SW, HW of the file.
  • Enum Constant Details

  • Method Details

    • values

      public static PlatformSwHwType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PlatformSwHwType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

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

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

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

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

      public static PlatformSwHwType parse(String platform, String sw, 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