TriggerType Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.cosmos.models.TriggerType

public enum TriggerType
extends Enum<TriggerType>

The trigger type in the Azure Cosmos DB database service.

Fields

POST

Trigger should be executed after the associated operation(s).

PRE

Trigger should be executed before the associated operation(s).

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

getValue()

public int getValue()

Gets the numerical value of the trigger type.

Returns

int
the numerical value.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static TriggerType valueOf(String name)

Parameters

name
String

Returns

values()

public static TriggerType[] values()

Returns

Applies to