toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PipelineExecutionStartCondition.expressionMatchOnly:
      return 'EXPRESSION_MATCH_ONLY';
    case PipelineExecutionStartCondition
        .expressionMatchAndDependencyUpdatesAvailable:
      return 'EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE';
  }
}