public enum SoftwareTypes extends Enum<SoftwareTypes>
Enum Constant and Description |
---|
APP
Software type is an app
|
FIRMWARE
Software type is firmware used in KOBIL hardware
|
Modifier and Type | Method and Description |
---|---|
static SoftwareTypes |
findSoftwareType(int softwareTypeNumber)
Return the SoftwareType object, which belongs to the specified software type number.
|
int |
getNumber() |
static SoftwareTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoftwareTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoftwareTypes APP
public static final SoftwareTypes FIRMWARE
public static SoftwareTypes[] values()
for (SoftwareTypes c : SoftwareTypes.values()) System.out.println(c);
public static SoftwareTypes valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getNumber()
public static SoftwareTypes findSoftwareType(int softwareTypeNumber)
softwareTypeNumber
- The software type number, which will be used for searching.null
if the software type number is not known.Copyright © 2022 KOBIL Systems GmbH. All rights reserved.