Package com.persequor.statistics
Interface ITrackingStatisticsResult
public interface ITrackingStatisticsResult
- 
Method SummaryModifier and TypeMethodDescriptiondefault voidPlease note that quantity is automatically inverted if the event is a revert event.default voidPlease note that quantity is automatically inverted if the event is a revert event.default voidaddData(double quantity, String unitOfMeasure, String reportName, Consumer<ITrackingStatistics> consumer) Please note that quantity is automatically inverted if the event is a revert event.voidaddData(BigDecimal quantity, String unitOfMeasure) Please note that quantity is automatically inverted if the event is a revert event.voidaddData(BigDecimal quantity, String unitOfMeasure, String reportName) Please note that quantity is automatically inverted if the event is a revert event.voidaddData(BigDecimal quantity, String unitOfMeasure, String reportName, Consumer<ITrackingStatistics> consumer) Please note that quantity is automatically inverted if the event is a revert event.voidDelay processing of this event.
- 
Method Details- 
addDataPlease note that quantity is automatically inverted if the event is a revert event.- Parameters:
- quantity- quantity to register
- unitOfMeasure- for example "products" or "pcs"
- See Also:
 
- 
addDataPlease note that quantity is automatically inverted if the event is a revert event.- Parameters:
- quantity- quantity to register
- unitOfMeasure- for example "products" or "pcs"
- reportName- Use this to differentiate between different reports
- See Also:
 
- 
addDatavoid addData(BigDecimal quantity, String unitOfMeasure, String reportName, Consumer<ITrackingStatistics> consumer) Please note that quantity is automatically inverted if the event is a revert event.- Parameters:
- quantity- quantity to register
- unitOfMeasure- for example "products" or "pcs"
- reportName- Use this to differentiate between different reports
- consumer- consumer implementation for adding additional data
- See Also:
 
- 
addDataPlease note that quantity is automatically inverted if the event is a revert event.- Parameters:
- quantity- quantity to register
- unitOfMeasure- for example "products" or "pcs"
- See Also:
 
- 
addDataPlease note that quantity is automatically inverted if the event is a revert event.- Parameters:
- quantity- quantity to register
- unitOfMeasure- for example "products" or "pcs"
- reportName- Use this to differentiate between different reports
- See Also:
 
- 
addDatadefault void addData(double quantity, String unitOfMeasure, String reportName, Consumer<ITrackingStatistics> consumer) Please note that quantity is automatically inverted if the event is a revert event.- Parameters:
- quantity- quantity to register
- unitOfMeasure- for example "products" or "pcs"
- reportName- Use this to differentiate between different reports
- consumer- consumer implementation for adding additional data
- See Also:
 
- 
delayDelay processing of this event. On first delay it is delayed for 1 second. On the second delay 1 minute. And then 5 minutes, 10 minutes and in the end 1 hour. A subsequent call to delay will cause the even to be put to Issues storage- Parameters:
- reason- message to be shown in the ui
 
 
-