public class TransportReporter extends Reporter
TransportJunction
.
That means it collects all data from the master (transporter) and the slave
(goods) queue.Constructor and Description |
---|
TransportReporter(Reportable informationSource)
Constructor for a new TransportReporter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getEntries()
Returns an array of Strings each containing the data for the
corresponding column in array
columns[] . |
boolean |
isContinuingReporter() |
boolean |
isTwoRowReporter() |
getColumnTitles, getDescription, getGroupID, getHeading, getModel, getNumOfSlaveQueues, getReportable, isEqual, isLarger, isOtherGroup, isSameGroup, makeAdditionalColorEntryIfHTMLColorChartIsGenerated, numColumns
public TransportReporter(Reportable informationSource)
informationSource
- desmoj.Reportable : The TransportJunction to report aboutpublic java.lang.String[] getEntries()
columns[]
. This method is
fetching the data from the master (transporter) and slave (goods) queue.
Implement this method in a way, that an array of the same length as the
columntitles is produced containing the data at the point of time this
method is called by someone else to produce up-to-date information.getEntries
in class Reporter
public boolean isContinuingReporter()
isContinuingReporter
in class Reporter
public boolean isTwoRowReporter()
isTwoRowReporter
in class Reporter