@AccessLevel(value=EXTERNAL)
public interface DeterminationIntervalSummarizerStrategy
ProductDelivery
.
Implementations of this interface must be added to the Guice
MapBinder
to map a
DETERMINATIONINTERVALSUMMARIZERSTRATEGYEntry
to the implementation of
this interface.
Once registered, each instance registered will be reused during the lifetime of the VM, and so implementations of this interface must be thread-safe. It is highly recommended that all implementations are stateless.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSummary(curam.core.sl.infrastructure.assessment.impl.CREOLECaseDeterminationAccessor creoleCaseDetermination,
curam.util.type.DateRange intervalDateRange)
Gets the summary for the specified interval (of constant eligibility and
entitlement) within a determination.
|
java.lang.String getSummary(curam.core.sl.infrastructure.assessment.impl.CREOLECaseDeterminationAccessor creoleCaseDetermination, curam.util.type.DateRange intervalDateRange) throws curam.util.exception.AppException, curam.util.exception.InformationalException
If the summary requires localization, implementations are responsible for providing the summary in the current user's locale.
creoleCaseDetermination
- the determination to summarizeintervalDateRange
- the date range of the interval within the determinationcuram.util.exception.AppException
curam.util.exception.InformationalException