Package org.azd.enums
Enum Class BuildReason
- All Implemented Interfaces:
Serializable
,Comparable<BuildReason>
,Constable
Represents the result of validating a build request.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll reasons.The build was started for the trigger TriggerType.BatchedContinuousIntegration.The build was started when another build completed.The build was started for the trigger ContinuousIntegrationType.Gated.The build was started for the trigger TriggerType.ContinuousIntegration.The build was started manually.No reason.The build was started by a pull request.The build was started when resources in pipeline triggered itThe build was started for the trigger TriggerType.Schedule.The build was started for the trigger TriggerType.ScheduleForced.The build was triggered for retention policy purposes.The build was created by a user.was started manually for private validation, -
Method Summary
Modifier and TypeMethodDescriptionstatic BuildReason
Returns the enum constant of this class with the specified name.static BuildReason[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
All reasons. -
BATCHED_CI
The build was started for the trigger TriggerType.BatchedContinuousIntegration. -
BUILD_COMPLETION
The build was started when another build completed. -
CHECK_IN_SHELVE_SET
The build was started for the trigger ContinuousIntegrationType.Gated. -
INDIVIDUAL_CI
The build was started for the trigger TriggerType.ContinuousIntegration. -
MANUAL
The build was started manually. -
NONE
No reason. This value should not be used. -
PULL_REQUEST
The build was started by a pull request. Added in resource version 3. -
RESOURCE_TRIGGER
The build was started when resources in pipeline triggered it -
SCHEDULE
The build was started for the trigger TriggerType.Schedule. -
SCHEDULE_FORCED
The build was started for the trigger TriggerType.ScheduleForced. -
TRIGGERED
The build was triggered for retention policy purposes. -
USER_CREATED
The build was created by a user. -
VALIDATE_SHELVE_SET
was started manually for private validation,
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-