NIFI-4784: Fixed runStatus allowedValues. This closes #2407

This commit is contained in:
sbouchex 2018-01-16 22:23:51 +01:00 committed by Matt Gilman
parent 790f14b8ef
commit e4dda497bb
No known key found for this signature in database
GPG Key ID: DF61EC19432AEE37
2 changed files with 3 additions and 2 deletions

View File

@ -77,7 +77,8 @@ public class ProcessorStatusDTO implements Cloneable {
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() {
return runStatus;
}

View File

@ -94,7 +94,7 @@ public class ProcessorStatusSnapshotDTO implements Cloneable {
*/
@ApiModelProperty(
value = "The state of the processor.",
allowableValues = "RUNNING, STOPPED, DISABLED, INVALID"
allowableValues = "Running, Stopped, Disabled, Invalid"
)
public String getRunStatus() {
return runStatus;