com.rapidminer.operator.ports.impl
Class OutputPortsImpl

java.lang.Object
  extended by com.rapidminer.tools.AbstractObservable<Port>
      extended by com.rapidminer.operator.ports.impl.AbstractPorts<OutputPort>
          extended by com.rapidminer.operator.ports.impl.OutputPortsImpl
All Implemented Interfaces:
OutputPorts, Ports<OutputPort>, Observable<Port>

public class OutputPortsImpl
extends AbstractPorts<OutputPort>
implements OutputPorts

Author:
Simon Fischer

Constructor Summary
OutputPortsImpl(PortOwner owner)
           
 
Method Summary
 OutputPort createPassThroughPort(java.lang.String name)
          Creates (and adds) a new port whose Port.simulatesStack() returns false.
 OutputPort createPort(java.lang.String name)
          Creates a new port and adds it to these Ports.
 OutputPort createPort(java.lang.String name, boolean add)
          Creates a new port and adds it to these Ports if add is true..
 void disconnectAll()
          Disconnects all ports.
 void disconnectAllBut(java.util.List<Operator> exceptions)
          Disconnects all ports with exception to those connections to operators in the given list.
 
Methods inherited from class com.rapidminer.operator.ports.impl.AbstractPorts
addPort, clear, containsPort, createIOContainer, freeMemory, getAllPorts, getMetaDataDescription, getNumberOfConnectedPorts, getNumberOfPorts, getOwner, getPortByIndex, getPortByName, getPortNames, pushDown, registerPortExtender, removeAll, removePort, renamePort, toString, unlockPortExtenders
 
Methods inherited from class com.rapidminer.tools.AbstractObservable
addObserver, addObserverAsFirst, fireUpdate, fireUpdate, removeObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rapidminer.operator.ports.Ports
addPort, clear, containsPort, createIOContainer, freeMemory, getAllPorts, getMetaDataDescription, getNumberOfConnectedPorts, getNumberOfPorts, getOwner, getPortByIndex, getPortByName, getPortNames, pushDown, registerPortExtender, removeAll, removePort, renamePort, unlockPortExtenders
 
Methods inherited from interface com.rapidminer.tools.Observable
addObserver, addObserverAsFirst, removeObserver
 

Constructor Detail

OutputPortsImpl

public OutputPortsImpl(PortOwner owner)
Method Detail

createPort

public OutputPort createPort(java.lang.String name)
Description copied from interface: Ports
Creates a new port and adds it to these Ports.

Specified by:
createPort in interface Ports<OutputPort>

createPort

public OutputPort createPort(java.lang.String name,
                             boolean add)
Description copied from interface: Ports
Creates a new port and adds it to these Ports if add is true..

Specified by:
createPort in interface Ports<OutputPort>

createPassThroughPort

public OutputPort createPassThroughPort(java.lang.String name)
Description copied from interface: Ports
Creates (and adds) a new port whose Port.simulatesStack() returns false.

Specified by:
createPassThroughPort in interface Ports<OutputPort>

disconnectAll

public void disconnectAll()
Description copied from interface: Ports
Disconnects all ports.

Specified by:
disconnectAll in interface Ports<OutputPort>

disconnectAllBut

public void disconnectAllBut(java.util.List<Operator> exceptions)
Description copied from interface: Ports
Disconnects all ports with exception to those connections to operators in the given list.

Specified by:
disconnectAllBut in interface Ports<OutputPort>


Copyright © 2001-2009 by Rapid-I