Share via


GpuDriver Class

public final class GpuDriver
extends ExpandableStringEnum<GpuDriver>

Whether to install GPU drivers. When it's not specified, default is Install.

Field Summary

Modifier and Type Field and Description
static final GpuDriver INSTALL

Install driver.

static final GpuDriver NONE

Skip driver install.

Constructor Summary

Constructor Description
GpuDriver()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GpuDriver value.

Method Summary

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

Creates or finds a GpuDriver from its string representation.

static Collection<GpuDriver> values()

Gets known GpuDriver values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

INSTALL

public static final GpuDriver INSTALL

Install driver.

NONE

public static final GpuDriver NONE

Skip driver install.

Constructor Details

GpuDriver

@Deprecated
public GpuDriver()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GpuDriver value.

Method Details

fromString

public static GpuDriver fromString(String name)

Creates or finds a GpuDriver from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding GpuDriver.

values

public static Collection<GpuDriver> values()

Gets known GpuDriver values.

Returns:

known GpuDriver values.

Applies to