Class AggregatorManager

java.lang.Object
org.gcube.accounting.aggregator.elaboration.AggregatorManager

public class AggregatorManager extends Object
  • Field Details

    • aggregationType

      protected final AggregationType aggregationType
    • aggregationStartDate

      protected Date aggregationStartDate
    • aggregationEndDate

      protected Date aggregationEndDate
    • restartFromLastAggregationDate

      protected final boolean restartFromLastAggregationDate
    • forceEarlyAggregation

      protected boolean forceEarlyAggregation
    • forceRerun

      protected boolean forceRerun
    • forceRestart

      protected boolean forceRestart
    • skipAggregation

      protected boolean skipAggregation
  • Constructor Details

    • AggregatorManager

      public AggregatorManager(AggregationType aggregationType, boolean restartFromLastAggregationDate, Date aggregationStartDate, Date aggregationEndDate) throws Exception
      Throws:
      Exception
  • Method Details

    • setForceEarlyAggregation

      public void setForceEarlyAggregation(boolean forceEarlyAggregation)
    • setForceRerun

      public void setForceRerun(boolean forceRerun)
    • setForceRestart

      public void setForceRestart(boolean forceRestart)
    • setSkipAggregation

      public void setSkipAggregation(boolean skipAggregation)
    • getEndDateFromStartDate

      protected Date getEndDateFromStartDate()
    • createAggregationStatus

      protected AggregationStatus createAggregationStatus(String recordType) throws Exception
      Throws:
      Exception
    • elaborate

      public void elaborate(String recordType) throws Exception
      Throws:
      Exception