toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EnvironmentType.ssh:
      return 'ssh';
    case EnvironmentType.ec2:
      return 'ec2';
  }
}