Package org.camunda.bpm.engine.history
Interface ReportResult
-
- All Known Subinterfaces:
DurationReportResult
- All Known Implementing Classes:
DurationReportResultEntity,ReportResultEntity
public interface ReportResultThis interface defines basic methods for resulting reports.- Author:
- Roman Smirnov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPeriod()Returns a period which specifies a time span within a year.PeriodUnitgetPeriodUnit()Returns the unit of the period.
-
-
-
Method Detail
-
getPeriod
int getPeriod()
Returns a period which specifies a time span within a year.
The returned period must be interpreted in conjunction with the returned
For example:PeriodUnitofgetPeriodUnit().getPeriodUnit()returnsPeriodUnit.MONTHgetPeriod()returns3
The returned period
3must be interpreted as the thirdmonthof the year (i.e. it represents the month March).If the
getPeriodUnit()returnsPeriodUnit.QUARTER, then the returned period3must be interpreted as the thirdquarterof the year.- Returns:
- an integer representing span of time within a year
-
getPeriodUnit
PeriodUnit getPeriodUnit()
Returns the unit of the period.
- Returns:
- a
PeriodUnit - See Also:
getPeriod()
-
-