toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NodeUpdateStatus.notApplied:
      return 'not-applied';
    case NodeUpdateStatus.waitingToStart:
      return 'waiting-to-start';
    case NodeUpdateStatus.inProgress:
      return 'in-progress';
    case NodeUpdateStatus.stopping:
      return 'stopping';
    case NodeUpdateStatus.stopped:
      return 'stopped';
    case NodeUpdateStatus.complete:
      return 'complete';
  }
}