buildTypeValueOf function

BuildType buildTypeValueOf(
  1. String value
)

Implementation

BuildType buildTypeValueOf(String value){
  switch(value){
    case "DEV": return BuildType.DEV;
    case "UAT": return BuildType.UAT;
    case "BETA": return BuildType.BETA;
    case "PREPROD":
    case "PRE-PROD":
    case "PRE_PROD": return BuildType.PRE_PROD;
    case "PROD": return BuildType.PROD;
    case "OTH1": return BuildType.OTH1;
    case "OTH2": return BuildType.OTH2;
    case "OTH3": return BuildType.OTH3;
    case "OTH4": return BuildType.OTH4;
    case "OTH5": return BuildType.OTH5;
    default: return BuildType.DEV;
  }
}