toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ChangeSource.resourceReference:
      return 'ResourceReference';
    case ChangeSource.parameterReference:
      return 'ParameterReference';
    case ChangeSource.resourceAttribute:
      return 'ResourceAttribute';
    case ChangeSource.directModification:
      return 'DirectModification';
    case ChangeSource.automatic:
      return 'Automatic';
  }
}