toConfluenceVersion method

ConfluenceVersion toConfluenceVersion()

Implementation

ConfluenceVersion toConfluenceVersion() {
  switch (this) {
    case 'CLOUD':
      return ConfluenceVersion.cloud;
    case 'SERVER':
      return ConfluenceVersion.server;
  }
  throw Exception('$this is not known in enum ConfluenceVersion');
}