public class WorkStationReporter extends Reporter
WorkStation
. That
means from the master and all the slave queues.Constructor and Description |
---|
WorkStationReporter(Reportable informationSource)
Constructor for a new WorkStationReporter.
|
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[] . |
int |
getNumOfSlaveQueues()
Returns the number of slave queues of this WorkStation.
|
boolean |
isContinuingReporter() |
boolean |
isTwoRowReporter() |
getColumnTitles, getDescription, getGroupID, getHeading, getModel, getReportable, isEqual, isLarger, isOtherGroup, isSameGroup, makeAdditionalColorEntryIfHTMLColorChartIsGenerated, numColumns
public WorkStationReporter(Reportable informationSource)
informationSource
- desmoj.Reportable : The WorkStation to report aboutpublic java.lang.String[] getEntries()
columns[]
. This method is
fetching the data from the master and the slave queues from the
WorkStation. 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 int getNumOfSlaveQueues()
getNumOfSlaveQueues
in class Reporter
public boolean isContinuingReporter()
isContinuingReporter
in class Reporter
public boolean isTwoRowReporter()
isTwoRowReporter
in class Reporter