toJobDefinitionType method

JobDefinitionType toJobDefinitionType()

Implementation

JobDefinitionType toJobDefinitionType() {
  switch (this) {
    case 'container':
      return JobDefinitionType.container;
    case 'multinode':
      return JobDefinitionType.multinode;
  }
  throw Exception('$this is not known in enum JobDefinitionType');
}