toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Status.building:
      return 'BUILDING';
    case Status.ready:
      return 'READY';
    case Status.readyBasicTesting:
      return 'READY_BASIC_TESTING';
    case Status.failed:
      return 'FAILED';
    case Status.notBuilt:
      return 'NOT_BUILT';
  }
}