struct BuildStatus
- BuildStatus
- Clear::Enum
- Struct
- Value
- Object
Defined in:
bitte_ci/model.crConstant Summary
-
AUTHORIZED_VALUES =
{"pending" => Pending, "running" => Running, "complete" => Complete, "failed" => Failed} -
Complete =
BuildStatus.new("complete") -
Failed =
BuildStatus.new("failed") -
Pending =
BuildStatus.new("pending") -
Running =
BuildStatus.new("running")
Class Method Summary
- .all
-
.authorized_values
Return the list of authorized values
-
.from_string(str : String)
Return the enum with the string passed as parameter.
- .valid?(x)
Class Method Detail
Return the enum with the string passed as parameter. Throw Clear::IllegalEnumValueError if the string is not found.