PatchingMode Class

public final class PatchingMode
extends ExpandableStringEnum<PatchingMode>

Patching mode for the container app. Null or default in this field will be interpreted as Automatic by RP. Automatic mode will automatically apply available patches. Manual mode will require the user to manually apply patches. Disabled mode will stop patch detection and auto patching.

Field Summary

Modifier and Type Field and Description
static final PatchingMode AUTOMATIC

Static value Automatic for PatchingMode.

static final PatchingMode DISABLED

Static value Disabled for PatchingMode.

static final PatchingMode MANUAL

Static value Manual for PatchingMode.

Constructor Summary

Constructor Description
PatchingMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PatchingMode value.

Method Summary

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

Creates or finds a PatchingMode from its string representation.

static Collection<PatchingMode> values()

Gets known PatchingMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUTOMATIC

public static final PatchingMode AUTOMATIC

Static value Automatic for PatchingMode.

DISABLED

public static final PatchingMode DISABLED

Static value Disabled for PatchingMode.

MANUAL

public static final PatchingMode MANUAL

Static value Manual for PatchingMode.

Constructor Details

PatchingMode

@Deprecated
public PatchingMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PatchingMode value.

Method Details

fromString

public static PatchingMode fromString(String name)

Creates or finds a PatchingMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PatchingMode.

values

public static Collection<PatchingMode> values()

Gets known PatchingMode values.

Returns:

known PatchingMode values.

Applies to