toGlobalConfigurationOutputLockingMode method

GlobalConfigurationOutputLockingMode toGlobalConfigurationOutputLockingMode()

Implementation

GlobalConfigurationOutputLockingMode
    toGlobalConfigurationOutputLockingMode() {
  switch (this) {
    case 'EPOCH_LOCKING':
      return GlobalConfigurationOutputLockingMode.epochLocking;
    case 'PIPELINE_LOCKING':
      return GlobalConfigurationOutputLockingMode.pipelineLocking;
  }
  throw Exception(
      '$this is not known in enum GlobalConfigurationOutputLockingMode');
}