com.spss.psapi.extensions.common

Interface ProcessorStreamManager



  • public interface ProcessorStreamManager
    A stream manager contains all streams being managed by the session.
    Since:
    PSAPI 11.1
    Version:
    1.0
    Author:
    Julian Clinton
    • Method Detail

      • getProcessorStreamCount

        int getProcessorStreamCount()
        Returns the number of streams being managed.
        Returns:
        the number of streams being managed
      • getProcessorStreamAt

        ProcessorStream getProcessorStreamAt(int index)
        Returns the stream at the specified index.
        Parameters:
        index -
        Returns:
        the stream at the specified index
      • getProcessorStreamForID

        ProcessorStream getProcessorStreamForID(java.lang.String id)
        Returns the stream with the specified ID or null if no such stream can be found.
        Parameters:
        id - the stream ID
        Returns:
        the stream or null
      • getCurrentProcessorStream

        ProcessorStream getCurrentProcessorStream()
        Returns the current stream or null. Note that the current stream may not be the same as the current diagram.
        Returns:
        the current stream or null
        See Also:
        getCurrentProcessorDiagram()
      • getCurrentProcessorDiagram

        ProcessorDiagram getCurrentProcessorDiagram()
        Returns the current diagram or null if there are no streams currently being managed. The current diagram will always be the same object as, or a child of, the current stream.
        Returns:
        the current diagram or null
        See Also:
        getCurrentProcessorStream()
      • removeAll

        void removeAll()
        Removes all streams from the manager. Any unsaved changes to the streams will be lost.
        Since:
        PSAPI 17.0

(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.