Package repast.simphony.data2.builder
Class AbstractDataSetBuilder
java.lang.Object
repast.simphony.data2.builder.AbstractDataSetBuilder
- Direct Known Subclasses:
AggregateDataSetBuilder
,NonAggregateDataSetBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDataSink
(DataSink sink) Adds a DataSink directly to this DataSetBuilder.void
Defines a FileDataSink for this DataSet.void
defineConsoleDataSink
(ConsoleDataSink.OutputStream target, String delimiter, FormatType formatType, Collection<String> sourceIds) Defines a ConsoleDataSink for this DataSet.void
defineScheduleParameters
(ScheduleParameters params, boolean atEnd) getId()
boolean
-
Field Details
-
id
-
sinkBuilders
-
-
Constructor Details
-
AbstractDataSetBuilder
-
-
Method Details
-
defineScheduleParameters
-
getScheduleParameters
-
isScheduleAtEnd
public boolean isScheduleAtEnd() -
getId
-
addFileDataSinkBuilder
Defines a FileDataSink for this DataSet. The data retrieved from the defined data sources will be written to the defined DataSink.- Parameters:
fileName
-delimiter
-formatType
-addTimeStamp
-sourceIds
-
-
defineConsoleDataSink
public void defineConsoleDataSink(ConsoleDataSink.OutputStream target, String delimiter, FormatType formatType, Collection<String> sourceIds) Defines a ConsoleDataSink for this DataSet. The data retrieved from the defined data sources will be written to the defined DataSink.- Parameters:
target
- the output stream to write todelimiter
-formatType
-
-
addDataSink
Adds a DataSink directly to this DataSetBuilder.- Parameters:
sink
- the DataSink to add
-