|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of data an instance of this class
can manage.public interface ResultsManager<T>
This interace is used to represent a results-manager. A results-manager is supplied with some form of results, or data, and then it processes those results in an appropriate way. This may involve writing all, some, or none of the data to a file or another form of data repository. Other possibilities exist as well.
Method Summary | ||
---|---|---|
|
addData(S results)
Adds data to this results manager. |
|
void |
breakPoint()
Signals to this manager that a point of discontinuity or change has been reached. |
|
void |
close()
Closes this results manager so that no further results can be added. |
|
java.lang.String |
getName()
Returns the name of this results manager. |
|
boolean |
isClosed()
Indicates if this results manager has already been closed. |
Method Detail |
---|
<S extends T> void addData(S results)
S
- a type extending the primary result type.results
- the results, or data, to be added
to this manager.
java.lang.IllegalStateException
- if close()
has already been called.void breakPoint()
java.lang.IllegalStateException
- if close()
has already been called.void close()
boolean isClosed()
true
if results can no longer be
added to this manager; false
otherwise.close()
java.lang.String getName()
null
if no name exists.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |