다음을 통해 공유


Mode Class

public final class Mode
extends ExpandableStringEnum<Mode>

Specifies the mode that ProxyAgent will execute on. Warning: this property has been deprecated, please specify 'mode' under particular hostendpoint setting.

Field Summary

Modifier and Type Field and Description
static final Mode AUDIT

Static value Audit for Mode.

static final Mode ENFORCE

Static value Enforce for Mode.

Constructor Summary

Constructor Description
Mode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Mode value.

Method Summary

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

Creates or finds a Mode from its string representation.

static Collection<Mode> values()

Gets known Mode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUDIT

public static final Mode AUDIT

Static value Audit for Mode.

ENFORCE

public static final Mode ENFORCE

Static value Enforce for Mode.

Constructor Details

Mode

@Deprecated
public Mode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Mode value.

Method Details

fromString

public static Mode fromString(String name)

Creates or finds a Mode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Mode.

values

public static Collection<Mode> values()

Gets known Mode values.

Returns:

known Mode values.

Applies to