mirror of https://github.com/apache/nifi.git
NIFI-810: rebased from master
This commit is contained in:
commit
b974445ddd
|
@ -1048,8 +1048,8 @@ public class StandardProcessorNode extends ProcessorNode implements Connectable
|
||||||
final int incomingConnCount = getIncomingConnections().size();
|
final int incomingConnCount = getIncomingConnections().size();
|
||||||
if (incomingConnCount != 0) {
|
if (incomingConnCount != 0) {
|
||||||
results.add(new ValidationResult.Builder()
|
results.add(new ValidationResult.Builder()
|
||||||
.explanation("Processor is currently configured with " + incomingConnCount + " upstream connections but does not accept any upstream connections")
|
.explanation("Processor does not accept Incoming Connections but is currently configured with " + incomingConnCount + " Incoming Connections")
|
||||||
.subject("Upstream Connections")
|
.subject("Incoming Connections")
|
||||||
.valid(false)
|
.valid(false)
|
||||||
.build());
|
.build());
|
||||||
}
|
}
|
||||||
|
@ -1058,8 +1058,8 @@ public class StandardProcessorNode extends ProcessorNode implements Connectable
|
||||||
case INPUT_REQUIRED: {
|
case INPUT_REQUIRED: {
|
||||||
if (getIncomingConnections().isEmpty()) {
|
if (getIncomingConnections().isEmpty()) {
|
||||||
results.add(new ValidationResult.Builder()
|
results.add(new ValidationResult.Builder()
|
||||||
.explanation("Processor requires an upstream connection but currently has none")
|
.explanation("Processor required at least one Incoming Connection in order to perform its function but currently has no Incoming Connection")
|
||||||
.subject("Upstream Connections")
|
.subject("Incoming Connections")
|
||||||
.valid(false)
|
.valid(false)
|
||||||
.build());
|
.build());
|
||||||
}
|
}
|
||||||
|
@ -1310,5 +1310,5 @@ public class StandardProcessorNode extends ProcessorNode implements Connectable
|
||||||
if (isRunning()) {
|
if (isRunning()) {
|
||||||
throw new IllegalStateException("Cannot modify Processor configuration while the Processor is running");
|
throw new IllegalStateException("Cannot modify Processor configuration while the Processor is running");
|
||||||
}
|
}
|
||||||
}
|
}>>>>>>>2215 bc848b7db395b2ca9ac7cc4dc10891393721
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue