com.capitalone.dashboard.model.BuildStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core package shared by API layer and Microservices
package com.capitalone.dashboard.model;
/**
* Enumeration of valid build statuses.
*/
public enum BuildStatus {
Success,
Failure,
Unstable,
Aborted,
InProgress,
Unknown;
public static BuildStatus fromString(String value) {
for (BuildStatus buildStatus : values()) {
if (buildStatus.toString().equalsIgnoreCase(value)) {
return buildStatus;
}
}
throw new IllegalArgumentException(value + " is not a valid BuildStatus.");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy