mirror of https://github.com/apache/nifi.git
NIFI-4784: Fixed runStatus allowedValues. This closes #2407
This commit is contained in:
parent
790f14b8ef
commit
e4dda497bb
|
@ -77,7 +77,8 @@ public class ProcessorStatusDTO implements Cloneable {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiModelProperty("The run status of the Processor")
|
@ApiModelProperty(value="The run status of the Processor",
|
||||||
|
allowableValues = "Running, Stopped, Disabled, Invalid")
|
||||||
public String getRunStatus() {
|
public String getRunStatus() {
|
||||||
return runStatus;
|
return runStatus;
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ public class ProcessorStatusSnapshotDTO implements Cloneable {
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(
|
@ApiModelProperty(
|
||||||
value = "The state of the processor.",
|
value = "The state of the processor.",
|
||||||
allowableValues = "RUNNING, STOPPED, DISABLED, INVALID"
|
allowableValues = "Running, Stopped, Disabled, Invalid"
|
||||||
)
|
)
|
||||||
public String getRunStatus() {
|
public String getRunStatus() {
|
||||||
return runStatus;
|
return runStatus;
|
||||||
|
|
Loading…
Reference in New Issue