Class AggregatorManager
- java.lang.Object
-
- org.gcube.accounting.aggregator.elaboration.AggregatorManager
-
public class AggregatorManager extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected DateaggregationEndDateprotected DateaggregationStartDateprotected AggregationTypeaggregationTypeprotected booleanforceEarlyAggregationprotected booleanforceRerunprotected booleanforceRestartprotected booleanrestartFromLastAggregationDateprotected booleanskipAggregation
-
Constructor Summary
Constructors Constructor Description AggregatorManager(AggregationType aggregationType, boolean restartFromLastAggregationDate, Date aggregationStartDate, Date aggregationEndDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AggregationStatuscreateAggregationStatus(String recordType)voidelaborate(String recordType)protected DategetEndDateFromStartDate()voidsetForceEarlyAggregation(boolean forceEarlyAggregation)voidsetForceRerun(boolean forceRerun)voidsetForceRestart(boolean forceRestart)voidsetSkipAggregation(boolean skipAggregation)
-
-
-
Field Detail
-
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 Detail
-
AggregatorManager
public AggregatorManager(AggregationType aggregationType, boolean restartFromLastAggregationDate, Date aggregationStartDate, Date aggregationEndDate) throws Exception
- Throws:
Exception
-
-
Method Detail
-
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
-
-