Package repast.simphony.data2.engine
Class ConsoleSinkDescriptor
java.lang.Object
repast.simphony.scenario.AbstractDescriptor
repast.simphony.data2.engine.AbstractTextSinkDescriptor
repast.simphony.data2.engine.ConsoleSinkDescriptor
- All Implemented Interfaces:
Descriptor
Sink for outputting text data to the console.
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class repast.simphony.data2.engine.AbstractTextSinkDescriptor
dataSet, delimiter, format, sourceIds
Fields inherited from class repast.simphony.scenario.AbstractDescriptor
scs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setEnabled
(boolean enabled) void
setOutputStream
(ConsoleDataSink.OutputStream outputStream) Methods inherited from class repast.simphony.data2.engine.AbstractTextSinkDescriptor
addSourceId, clearSourceIds, getDataSet, getDelimiter, getFormat, getSourceIds, removeSourceId, setDataSet, setDelimiter, setFormat
Methods inherited from class repast.simphony.scenario.AbstractDescriptor
addScenarioChangedListener, getName, readResolve, setName
-
Constructor Details
-
ConsoleSinkDescriptor
Creates a ConsoleSinkDescriptor.- Parameters:
name
-
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Returns:
- the enabled
-
setEnabled
public void setEnabled(boolean enabled) - Parameters:
enabled
- the enabled to set
-
getOutputStream
- Returns:
- the outputStream
-
setOutputStream
- Parameters:
outputStream
- the outputStream to set
-