toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ConflictResolutionStrategyTypeEnum.none:
      return 'NONE';
    case ConflictResolutionStrategyTypeEnum.acceptSource:
      return 'ACCEPT_SOURCE';
    case ConflictResolutionStrategyTypeEnum.acceptDestination:
      return 'ACCEPT_DESTINATION';
    case ConflictResolutionStrategyTypeEnum.automerge:
      return 'AUTOMERGE';
  }
}