Package org.eclipse.packager.rpm
Enum Architecture
- java.lang.Object
-
- java.lang.Enum<Architecture>
-
- org.eclipse.packager.rpm.Architecture
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Architecture>
public enum Architecture extends java.lang.Enum<Architecture>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<Architecture>fromAlias(java.lang.String alias)static java.util.Optional<Architecture>fromValue(int value)shortgetValue()static ArchitecturevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Architecture[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOARCH
public static final Architecture NOARCH
-
INTEL
public static final Architecture INTEL
-
ALPHA
public static final Architecture ALPHA
-
SPARC
public static final Architecture SPARC
-
MIPS
public static final Architecture MIPS
-
PPC
public static final Architecture PPC
-
M86K
public static final Architecture M86K
-
IP
public static final Architecture IP
-
RS6000
public static final Architecture RS6000
-
IA64
public static final Architecture IA64
-
MIPSEL
public static final Architecture MIPSEL
-
ARM
public static final Architecture ARM
-
M86KMINT
public static final Architecture M86KMINT
-
S390
public static final Architecture S390
-
S390X
public static final Architecture S390X
-
PPC64
public static final Architecture PPC64
-
SH
public static final Architecture SH
-
XTENSA
public static final Architecture XTENSA
-
AARCH64
public static final Architecture AARCH64
-
-
Method Detail
-
values
public static Architecture[] 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 (Architecture c : Architecture.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Architecture 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 namejava.lang.NullPointerException- if the argument is null
-
getValue
public short getValue()
-
fromValue
public static java.util.Optional<Architecture> fromValue(int value)
-
fromAlias
public static java.util.Optional<Architecture> fromAlias(java.lang.String alias)
-
-