toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ContainerCondition.start:
      return 'START';
    case ContainerCondition.complete:
      return 'COMPLETE';
    case ContainerCondition.success:
      return 'SUCCESS';
    case ContainerCondition.healthy:
      return 'HEALTHY';
  }
}