
com.almworks.jira.structure.api2g.process.ProcessStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-api Show documentation
Show all versions of structure-api Show documentation
Public API for the Structure Plugin for JIRA
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