SourceTriggerEvent Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. SourceTriggerEvent
- com.
- com.
public final class SourceTriggerEvent
extends ExpandableStringEnum<SourceTriggerEvent>
Defines values for SourceTriggerEvent.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Source |
COMMIT
Static value commit for Source |
static final
Source |
PULLREQUEST
Static value pullrequest for Source |
Constructor Summary
Constructor | Description |
---|---|
SourceTriggerEvent() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Source |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Source |
fromString(String name)
Creates or finds a Source |
static
Collection<Source |
values()
Gets known Source |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
COMMIT
public static final SourceTriggerEvent COMMIT
Static value commit for SourceTriggerEvent.
PULLREQUEST
public static final SourceTriggerEvent PULLREQUEST
Static value pullrequest for SourceTriggerEvent.
Constructor Details
SourceTriggerEvent
@Deprecated
public SourceTriggerEvent()
Deprecated
Creates a new instance of SourceTriggerEvent value.
Method Details
fromString
public static SourceTriggerEvent fromString(String name)
Creates or finds a SourceTriggerEvent from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SourceTriggerEvent values.
Returns:
Applies to
Azure SDK for Java