NIFI-5715: Updating the allowable values for the runStatus.

This closes #3087.

Signed-off-by: Kevin Doran <kdoran@apache.org>
This commit is contained in:
Matt Gilman 2018-10-17 10:18:18 -04:00 committed by Kevin Doran
parent 4039c21d67
commit 87c6b3aa7c
No known key found for this signature in database
GPG Key ID: 5621A6244B77AC02
5 changed files with 9 additions and 5 deletions

View File

@ -76,7 +76,9 @@ public class PortStatusDTO {
}
@ApiModelProperty("The run status of the port.")
@ApiModelProperty(
value="The run status of the port.",
allowableValues = "Running, Stopped, Validating, Disabled, Invalid")
public String getRunStatus() {
return runStatus;
}

View File

@ -104,7 +104,9 @@ public class PortStatusSnapshotDTO implements Cloneable {
/**
* @return run status of this port
*/
@ApiModelProperty("The run status of the port.")
@ApiModelProperty(
value="The run status of the port.",
allowableValues = "Running, Stopped, Validating, Disabled, Invalid")
public String getRunStatus() {
return runStatus;
}

View File

@ -78,7 +78,7 @@ public class ProcessorStatusDTO implements Cloneable {
}
@ApiModelProperty(value="The run status of the Processor",
allowableValues = "Running, Stopped, Disabled, Invalid")
allowableValues = "Running, Stopped, Validating, Disabled, Invalid")
public String getRunStatus() {
return runStatus;
}

View File

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

View File

@ -29,7 +29,7 @@ public class ReportingTaskStatusDTO extends ComponentStatusDTO {
@ApiModelProperty(value = "The run status of this ReportingTask",
readOnly = true,
allowableValues = "RUNNING, STOPPED")
allowableValues = "RUNNING, STOPPED, DISABLED")
@Override
public String getRunStatus() {
return super.getRunStatus();