toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NodeType.crawler:
      return 'CRAWLER';
    case NodeType.job:
      return 'JOB';
    case NodeType.trigger:
      return 'TRIGGER';
  }
}