mirror of https://github.com/apache/nifi.git
NIFI-443: Removed stopFunnel from ProcessGroup because we don't want to allow it
This commit is contained in:
parent
8b911c5aab
commit
c9eb237895
|
@ -192,12 +192,6 @@ public interface ProcessGroup {
|
|||
*/
|
||||
void stopOutputPort(Port port);
|
||||
|
||||
/**
|
||||
* Stops the given Funnel
|
||||
*
|
||||
* @param processor
|
||||
*/
|
||||
void stopFunnel(Funnel funnel);
|
||||
|
||||
/**
|
||||
* Disables the given Processor
|
||||
|
|
|
@ -1108,8 +1108,7 @@ public final class StandardProcessGroup implements ProcessGroup {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stopFunnel(final Funnel funnel) {
|
||||
private void stopFunnel(final Funnel funnel) {
|
||||
readLock.lock();
|
||||
try {
|
||||
if (!funnels.containsKey(funnel.getIdentifier())) {
|
||||
|
|
Loading…
Reference in New Issue