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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidelaborate(boolean forceEarlyAggregation, boolean forceRerun, boolean forceRestart, boolean skipAggregation)protected FilegetAggregatedRecordsBackupFile(File originalRecordsbackupFile)protected FilegetOriginalRecordsBackupFile(File elaborationDirectory, String name)static FilegetOriginalRecordsBackupFile(File elaborationDirectory, AggregationInfo aggregationInfo)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, boolean skipAggregation) throws Exception- Throws:
Exception
-
getOriginalRecordsBackupFile
public static File getOriginalRecordsBackupFile(File elaborationDirectory, AggregationInfo aggregationInfo)
-
getOriginalRecordsBackupFile
protected File getOriginalRecordsBackupFile(File elaborationDirectory, String name) throws Exception
- Throws:
Exception
-
-