Partager via


TriggerOperation Class

public final class TriggerOperation
extends ExpandableStringEnum<TriggerOperation>

The operation the trigger is associated with.

Field Summary

Modifier and Type Field and Description
static final TriggerOperation ALL

Static value All for TriggerOperation.

static final TriggerOperation CREATE

Static value Create for TriggerOperation.

static final TriggerOperation DELETE

Static value Delete for TriggerOperation.

static final TriggerOperation REPLACE

Static value Replace for TriggerOperation.

static final TriggerOperation UPDATE

Static value Update for TriggerOperation.

Constructor Summary

Constructor Description
TriggerOperation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TriggerOperation value.

Method Summary

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

Creates or finds a TriggerOperation from its string representation.

static Collection<TriggerOperation> values()

Gets known TriggerOperation values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL

public static final TriggerOperation ALL

Static value All for TriggerOperation.

CREATE

public static final TriggerOperation CREATE

Static value Create for TriggerOperation.

DELETE

public static final TriggerOperation DELETE

Static value Delete for TriggerOperation.

REPLACE

public static final TriggerOperation REPLACE

Static value Replace for TriggerOperation.

UPDATE

public static final TriggerOperation UPDATE

Static value Update for TriggerOperation.

Constructor Details

TriggerOperation

@Deprecated
public TriggerOperation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TriggerOperation value.

Method Details

fromString

public static TriggerOperation fromString(String name)

Creates or finds a TriggerOperation from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TriggerOperation.

values

public static Collection values()

Gets known TriggerOperation values.

Returns:

known TriggerOperation values.

Applies to