br.com.oncast.dev.lobo.io
Interface MergeFileReader


public interface MergeFileReader

Reader for a merge file report.


Method Summary
 java.lang.String currentCaseName()
          The name of the current case.
 java.lang.String currentScenarioName()
          The name of the current scenario.
 boolean hasCases()
          Returns true if the MergeFileReader has unread cases.
 boolean hasMetrics()
          Returns true if the MergeFileReader has unread metrics within the current scenario.
 boolean hasMetricValues()
          Returns true if the MergeFileReader has unread metric values within the current metric.
 boolean hasScenarios()
          Returns true if the MergeFileReader has unread scenarios within the current case.
 void nextCase()
          Advances to the following case.
 MergeMetric nextMetric()
          Returns the next MergeMetric.
 MetricValue nextMetricValue()
          Returns the next MetricValue.
 void nextScenario()
          Advances to the following scenario.
 

Method Detail

hasCases

boolean hasCases()
Returns true if the MergeFileReader has unread cases.

Returns:
true if the MergeFileReader has unread cases.

nextCase

void nextCase()
Advances to the following case.


hasScenarios

boolean hasScenarios()
Returns true if the MergeFileReader has unread scenarios within the current case.

Returns:
true if the MergeFileReader has unread scenarios.

nextScenario

void nextScenario()
Advances to the following scenario.


hasMetrics

boolean hasMetrics()
Returns true if the MergeFileReader has unread metrics within the current scenario.

Returns:
true if the MergeFileReader has unread metrics.

nextMetric

MergeMetric nextMetric()
Returns the next MergeMetric.

Returns:
the next MergeMetric.

hasMetricValues

boolean hasMetricValues()
Returns true if the MergeFileReader has unread metric values within the current metric.

Returns:
true if the MergeFileReader has unread metric values.

nextMetricValue

MetricValue nextMetricValue()
Returns the next MetricValue.

Returns:
the next MetricValue.

currentCaseName

java.lang.String currentCaseName()
The name of the current case.

Returns:
the name of the current case.

currentScenarioName

java.lang.String currentScenarioName()
The name of the current scenario.

Returns:
the name of the current scenario.