Class Elaborator
- java.lang.Object
-
- org.gcube.accounting.aggregator.elaboration.Elaborator
-
public class Elaborator extends Object
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringAGGREGATED_SUFFIXprotected AggregationStatusaggregationStatusstatic StringORIGINAL_SUFFIX
-
Constructor Summary
Constructors Constructor Description Elaborator(AggregationStatus aggregationStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidelaborate(boolean forceEarlyAggregation, boolean forceRerun, boolean forceRestart)protected FilegetAggregatedRecordsBackupFile(File originalRecordsbackupFile)protected FilegetOriginalRecordsBackupFile(File elaborationDirectory, String name)booleanisAggregationAllowed()
-
-
-
Field Detail
-
ORIGINAL_SUFFIX
public static final String ORIGINAL_SUFFIX
- See Also:
- Constant Field Values
-
AGGREGATED_SUFFIX
public static final String AGGREGATED_SUFFIX
- See Also:
- Constant Field Values
-
aggregationStatus
protected AggregationStatus aggregationStatus
-
-
Constructor Detail
-
Elaborator
public Elaborator(AggregationStatus aggregationStatus) throws Exception
- Throws:
Exception
-
-
Method Detail
-
isAggregationAllowed
public boolean isAggregationAllowed()
-
elaborate
public void elaborate(boolean forceEarlyAggregation, boolean forceRerun, boolean forceRestart) throws Exception- Throws:
Exception
-
getOriginalRecordsBackupFile
protected File getOriginalRecordsBackupFile(File elaborationDirectory, String name) throws Exception
- Throws:
Exception
-
-