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

com.almworks.jira.structure.api2g.process.ProcessStatus Maven / Gradle / Ivy

There is a newer version: 17.25.3
Show newest version
package com.almworks.jira.structure.api2g.process;

public enum ProcessStatus {
  /**
   * The process is scheduled, but haven't run yet
   */
  PENDING(0),
  /**
   * The process is running now
   */
  RUNNING(1),
  /**
   * The process has been finished
   */
  FINISHED(2);

  private final int value;

  ProcessStatus(int value) {
    this.value = value;
  }

  public int getValue() {
    return value;
  }

  public static ProcessStatus valueOf(int value) {
    switch (value) {
    case 0: return PENDING;
    case 1: return RUNNING;
    default: return FINISHED;
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy