ScriptLevel Class

public final class ScriptLevel
extends ExpandableStringEnum<ScriptLevel>

Differentiates between the type of script commands included - Database or Cluster. The default is Database.

Field Summary

Modifier and Type Field and Description
static final ScriptLevel CLUSTER

Static value Cluster for ScriptLevel.

static final ScriptLevel DATABASE

Static value Database for ScriptLevel.

Constructor Summary

Constructor Description
ScriptLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScriptLevel value.

Method Summary

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

Creates or finds a ScriptLevel from its string representation.

static Collection<ScriptLevel> values()

Gets known ScriptLevel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CLUSTER

public static final ScriptLevel CLUSTER

Static value Cluster for ScriptLevel.

DATABASE

public static final ScriptLevel DATABASE

Static value Database for ScriptLevel.

Constructor Details

ScriptLevel

@Deprecated
public ScriptLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScriptLevel value.

Method Details

fromString

public static ScriptLevel fromString(String name)

Creates or finds a ScriptLevel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScriptLevel.

values

public static Collection<ScriptLevel> values()

Gets known ScriptLevel values.

Returns:

known ScriptLevel values.

Applies to