Class Elaborator
java.lang.Object
org.gcube.accounting.aggregator.elaboration.Elaborator
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected AggregationStatusstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidelaborate(boolean forceEarlyAggregation, boolean forceRerun, boolean forceRestart, boolean skipAggregation) protected FilegetAggregatedRecordsBackupFile(File originalRecordsbackupFile) protected FilegetOriginalRecordsBackupFile(File elaborationDirectory, String name) static FilegetOriginalRecordsBackupFile(File elaborationDirectory, AggregationInfo aggregationInfo) boolean
-
Field Details
-
ORIGINAL_SUFFIX
- See Also:
-
AGGREGATED_SUFFIX
- See Also:
-
aggregationStatus
-
-
Constructor Details
-
Elaborator
- Throws:
Exception
-
-
Method Details
-
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
-
getAggregatedRecordsBackupFile
- Throws:
Exception
-