Architecture Class

public final class Architecture
extends ExpandableStringEnum<Architecture>

The OS architecture.

Field Summary

Modifier and Type Field and Description
static final Architecture AMD64

Static value amd64 for Architecture.

static final Architecture ARM

Static value arm for Architecture.

static final Architecture ARM64

Static value arm64 for Architecture.

static final Architecture THREE_EIGHT_SIX

Static value 386 for Architecture.

static final Architecture X86

Static value x86 for Architecture.

Constructor Summary

Constructor Description
Architecture()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Architecture value.

Method Summary

Modifier and Type Method and Description
static Architecture fromString(String name)

Creates or finds a Architecture from its string representation.

static Collection<Architecture> values()

Gets known Architecture values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AMD64

public static final Architecture AMD64

Static value amd64 for Architecture.

ARM

public static final Architecture ARM

Static value arm for Architecture.

ARM64

public static final Architecture ARM64

Static value arm64 for Architecture.

THREE_EIGHT_SIX

public static final Architecture THREE_EIGHT_SIX

Static value 386 for Architecture.

X86

public static final Architecture X86

Static value x86 for Architecture.

Constructor Details

Architecture

@Deprecated
public Architecture()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Architecture value.

Method Details

fromString

public static Architecture fromString(String name)

Creates or finds a Architecture from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Architecture.

values

public static Collection values()

Gets known Architecture values.

Returns:

known Architecture values.

Applies to