toConfigurationItemType method

ConfigurationItemType toConfigurationItemType()

Implementation

ConfigurationItemType toConfigurationItemType() {
  switch (this) {
    case 'SERVER':
      return ConfigurationItemType.server;
    case 'PROCESS':
      return ConfigurationItemType.process;
    case 'CONNECTION':
      return ConfigurationItemType.connection;
    case 'APPLICATION':
      return ConfigurationItemType.application;
  }
  throw Exception('$this is not known in enum ConfigurationItemType');
}