ActiveRevisionsMode Class

public final class ActiveRevisionsMode
extends ExpandableStringEnum<ActiveRevisionsMode>

ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode.

Field Summary

Modifier and Type Field and Description
static final ActiveRevisionsMode MULTIPLE

Static value multiple for ActiveRevisionsMode.

static final ActiveRevisionsMode SINGLE

Static value single for ActiveRevisionsMode.

Constructor Summary

Constructor Description
ActiveRevisionsMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ActiveRevisionsMode value.

Method Summary

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

Creates or finds a ActiveRevisionsMode from its string representation.

static Collection<ActiveRevisionsMode> values()

Gets known ActiveRevisionsMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MULTIPLE

public static final ActiveRevisionsMode MULTIPLE

Static value multiple for ActiveRevisionsMode.

SINGLE

public static final ActiveRevisionsMode SINGLE

Static value single for ActiveRevisionsMode.

Constructor Details

ActiveRevisionsMode

@Deprecated
public ActiveRevisionsMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ActiveRevisionsMode value.

Method Details

fromString

public static ActiveRevisionsMode fromString(String name)

Creates or finds a ActiveRevisionsMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ActiveRevisionsMode.

values

public static Collection values()

Gets known ActiveRevisionsMode values.

Returns:

known ActiveRevisionsMode values.

Applies to