Package org.azd.enums
Enum Class BuildReason
- All Implemented Interfaces:
Serializable,Comparable<BuildReason>,java.lang.constant.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 ConstantsEnum 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 BuildReasonReturns 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. -
BATCHEDCI
The build was started for the trigger TriggerType.BatchedContinuousIntegration. -
BUILDCOMPLETION
The build was started when another build completed. -
CHECKINSHELVESET
The build was started for the trigger ContinuousIntegrationType.Gated. -
INDIVIDUALCI
The build was started for the trigger TriggerType.ContinuousIntegration. -
MANUAL
The build was started manually. -
NONE
No reason. This value should not be used. -
PULLREQUEST
The build was started by a pull request. Added in resource version 3. -
RESOURCETRIGGER
The build was started when resources in pipeline triggered it -
SCHEDULE
The build was started for the trigger TriggerType.Schedule. -
SCHEDULEFORCED
The build was started for the trigger TriggerType.ScheduleForced. -
TRIGGERED
The build was triggered for retention policy purposes. -
USERCREATED
The build was created by a user. -
VALIDATESHELVESET
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
-