Class AbstractGraphFilter<G extends AbstractGraph<V,E,O>,V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O>

Type Parameters:
G - The graph that is processed by this filter
V - The vertex type of the graph
E - The edge type of the graph
O - The type of the graph's elements origins
All Implemented Interfaces:
IAnalysisComponent, IFilterPlugin, IPlugin, IGraphOutputtingFilter<G>
Direct Known Subclasses:
DescriptionDecoratorFilter, TraceColoringFilter

@Deprecated public abstract class AbstractGraphFilter<G extends AbstractGraph<V,E,O>,V extends AbstractVertex<V,E,O>,E extends AbstractEdge<V,E,O>,O> extends AbstractFilterPlugin implements IGraphOutputtingFilter<G>
Deprecated.
1.15 moved to teetime
Abstract superclass for all graph filters.
Since:
1.6
Author:
Holger Knoche
  • Field Details

    • INPUT_PORT_NAME_GRAPH

      public static final String INPUT_PORT_NAME_GRAPH
      Deprecated.
      The name of the filter's graph input port.
      See Also:
  • Constructor Details

    • AbstractGraphFilter

      public AbstractGraphFilter(Configuration configuration, IProjectContext projectContext)
      Deprecated.
      Creates a new filter with the given configuration.
      Parameters:
      configuration - The filter configuration to use
      projectContext - The project context to use.
  • Method Details

    • notifyNewIncomingConnection

      protected void notifyNewIncomingConnection(String inputPortName, AbstractPlugin connectedPlugin, String outputPortName) throws AnalysisConfigurationException
      Deprecated.
      Description copied from class: AbstractPlugin
      Notification method which is called when a new incoming connection to this plugin is established.
      Overrides:
      notifyNewIncomingConnection in class AbstractPlugin
      Parameters:
      inputPortName - The input port name to which the connection was established
      connectedPlugin - The plugin that was connected
      outputPortName - The opposing plugin's output port from which the connection was established
      Throws:
      AnalysisConfigurationException - If an error occurs while processing of this notification
    • init

      public boolean init()
      Deprecated.
      Description copied from class: AbstractFilterPlugin
      Initiates the start of a component. This method is called once when a AnalysisController's run() method is called. This implementation must not be blocking! Asynchronous consumers would spawn (an) asynchronous thread(s) in this method.
      Specified by:
      init in interface IPlugin
      Overrides:
      init in class AbstractFilterPlugin
      Returns:
      true on success; false otherwise.
    • getDesiredOriginRetentionPolicy

      protected abstract IOriginRetentionPolicy getDesiredOriginRetentionPolicy() throws AnalysisConfigurationException
      Deprecated.
      Throws:
      AnalysisConfigurationException
    • getCurrentConfiguration

      public Configuration getCurrentConfiguration()
      Deprecated.
      Description copied from class: AbstractAnalysisComponent
      This method should deliver a Configuration object containing the current configuration of this instance. In other words: The constructor should be able to use the given object to initialize a new instance of this class with the same intern properties.
      Specified by:
      getCurrentConfiguration in interface IAnalysisComponent
      Specified by:
      getCurrentConfiguration in interface IPlugin
      Specified by:
      getCurrentConfiguration in class AbstractAnalysisComponent
      Returns:
      A completely filled configuration object.
    • processGraph

      public void processGraph(G graph)
      Deprecated.
      Processes the given graph.
      Parameters:
      graph - The graph to process
    • getGraphOutputPortName

      public String getGraphOutputPortName()
      Deprecated.
      Returns the name of the port this filter uses to emit the graph.
      Specified by:
      getGraphOutputPortName in interface IGraphOutputtingFilter<G extends AbstractGraph<V,E,O>>
      Returns:
      See above
    • getGraphInputPortName

      public String getGraphInputPortName()
      Deprecated.
      Returns the name of the port this filter accepts graphs on.
      Returns:
      See above
    • performConcreteGraphProcessing

      protected abstract G performConcreteGraphProcessing(G graph)
      Deprecated.
      This method encapsulates the concrete graph processing performed by the concrete filters.
      Parameters:
      graph - The graph to process
      Returns:
      The processed graph, which may be the same as the input graph