All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.camunda.tasklist.dto.TaskState Maven / Gradle / Ivy

The newest version!
package io.camunda.tasklist.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

public enum TaskState {
  CREATED("CREATED"),
  COMPLETED("COMPLETED"),
  CANCELED("CANCELED"),
  FAILED("FAILED");

  private final String rawValue;

  TaskState(String rawValue) {
    this.rawValue = rawValue;
  }

  public String getRawValue() {
    return rawValue;
  }

  public static TaskState fromJson(@JsonProperty("rawValue") String rawValue) {
    return valueOf(rawValue);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy