Interface IOneSourceAtATimeManager
- All Known Implementing Classes:
BaseSourceSinkManager
public interface IOneSourceAtATimeManager
Interface for source/sink managers that support calculating data flows with
one source at a time
- Author:
- Steven Arzt
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether there is another source with which to run the data flow analysisbooleanGets whether this source/sink manager shall run with one source at a time instead of all of them togethervoidAdvances the iterator to the next source.voidResets the iterator.voidsetOneSourceAtATimeEnabled(boolean enabled) Sets whether this source/sink manager shall run with one source at a time instead of all of them together
-
Method Details
-
setOneSourceAtATimeEnabled
void setOneSourceAtATimeEnabled(boolean enabled) Sets whether this source/sink manager shall run with one source at a time instead of all of them together- Parameters:
enabled- True to return only one source at a time and hide all other ones, otherwise false
-
isOneSourceAtATimeEnabled
boolean isOneSourceAtATimeEnabled()Gets whether this source/sink manager shall run with one source at a time instead of all of them together- Returns:
- True to return only one source at a time and hide all other ones, otherwise false
-
resetCurrentSource
void resetCurrentSource()Resets the iterator. This means that the source/sink manager starts again with the first source. -
nextSource
void nextSource()Advances the iterator to the next source. -
hasNextSource
boolean hasNextSource()Checks whether there is another source with which to run the data flow analysis- Returns:
- True if there is another source with which to run the data flow analysis, otherwise false
-