mirror of https://github.com/apache/nifi.git
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:
parent
4039c21d67
commit
87c6b3aa7c
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue