Package com.pi4j.system
Enum SystemInfo.BoardType
- java.lang.Object
-
- java.lang.Enum<SystemInfo.BoardType>
-
- com.pi4j.system.SystemInfo.BoardType
-
- All Implemented Interfaces:
Serializable
,Comparable<SystemInfo.BoardType>
- Enclosing class:
- SystemInfo
public static enum SystemInfo.BoardType extends Enum<SystemInfo.BoardType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SystemInfo.BoardType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SystemInfo.BoardType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final SystemInfo.BoardType UNKNOWN
-
RaspberryPi_A
public static final SystemInfo.BoardType RaspberryPi_A
-
RaspberryPi_B_Rev1
public static final SystemInfo.BoardType RaspberryPi_B_Rev1
-
RaspberryPi_B_Rev2
public static final SystemInfo.BoardType RaspberryPi_B_Rev2
-
RaspberryPi_A_Plus
public static final SystemInfo.BoardType RaspberryPi_A_Plus
-
RaspberryPi_B_Plus
public static final SystemInfo.BoardType RaspberryPi_B_Plus
-
RaspberryPi_ComputeModule
public static final SystemInfo.BoardType RaspberryPi_ComputeModule
-
RaspberryPi_2B
public static final SystemInfo.BoardType RaspberryPi_2B
-
RaspberryPi_3B
public static final SystemInfo.BoardType RaspberryPi_3B
-
RaspberryPi_3B_Plus
public static final SystemInfo.BoardType RaspberryPi_3B_Plus
-
RaspberryPi_Zero
public static final SystemInfo.BoardType RaspberryPi_Zero
-
RaspberryPi_ComputeModule3
public static final SystemInfo.BoardType RaspberryPi_ComputeModule3
-
RaspberryPi_ZeroW
public static final SystemInfo.BoardType RaspberryPi_ZeroW
-
RaspberryPi_Alpha
public static final SystemInfo.BoardType RaspberryPi_Alpha
-
RaspberryPi_3A_Plus
public static final SystemInfo.BoardType RaspberryPi_3A_Plus
-
RaspberryPi_ComputeModule3_Plus
public static final SystemInfo.BoardType RaspberryPi_ComputeModule3_Plus
-
RaspberryPi_4B
public static final SystemInfo.BoardType RaspberryPi_4B
-
RaspberryPi_400
public static final SystemInfo.BoardType RaspberryPi_400
-
RaspberryPi_ComputeModule4
public static final SystemInfo.BoardType RaspberryPi_ComputeModule4
-
RaspberryPi_Unknown
public static final SystemInfo.BoardType RaspberryPi_Unknown
-
-
Method Detail
-
values
public static SystemInfo.BoardType[] 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 (SystemInfo.BoardType c : SystemInfo.BoardType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemInfo.BoardType 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 nameNullPointerException
- if the argument is null
-
-