We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7041647 commit 5681319Copy full SHA for 5681319
cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/processes/ProcessState.java
@@ -42,7 +42,12 @@ public enum ProcessState {
42
/**
43
* The starting state
44
*/
45
- STARTING("STARTING");
+ STARTING("STARTING"),
46
+
47
+ /**
48
+ * The stopping state
49
+ */
50
+ STOPPING("STOPPING");
51
52
private final String value;
53
@@ -61,6 +66,8 @@ public static ProcessState from(String s) {
61
66
return RUNNING;
62
67
case "starting":
63
68
return STARTING;
69
+ case "stopping":
70
+ return STOPPING;
64
71
default:
65
72
throw new IllegalArgumentException(String.format("Unknown process state: %s", s));
73
}
0 commit comments