valueFromName static method

HealthStatus valueFromName(
  1. String name
)

Implementation

static HealthStatus valueFromName(String name) {
  for (int i = 0; i < _values.length; ++i) {
    HealthStatus num = _values[i];
    if (num.getName() == name) {
      return num;
    }
  }
  return NotInstalled;
}