Class AccountingAggregatorPlugin
- java.lang.Object
-
- org.gcube.vremanagement.executor.plugin.Plugin
-
- org.gcube.accounting.aggregator.plugin.AccountingAggregatorPlugin
-
- All Implemented Interfaces:
org.gcube.vremanagement.executor.plugin.PluginDefinition
public class AccountingAggregatorPlugin extends org.gcube.vremanagement.executor.plugin.Plugin- Author:
- Alessandro Pieve (ISTI - CNR), Luca Frosini (ISTI - CNR)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountingAggregatorPlugin.ElaborationType
-
Field Summary
Fields Modifier and Type Field Description static StringAGGREGATION_END_DATE_INPUT_PARAMETERstatic DateFormatAGGREGATION_START_DATE_DATE_FORMATstatic StringAGGREGATION_START_DATE_DATE_FORMAT_PATTERNstatic StringAGGREGATION_START_DATE_INPUT_PARAMETERDay is ignored for MONTHLY aggregation Month and Day are ignored for YEARLY aggregationstatic StringAGGREGATION_TYPE_INPUT_PARAMETERKey to indicateAggregationTypestatic StringELABORATION_TYPE_INPUT_PARAMETERIndicate which types of elaboration the plugin must performstatic StringFORCE_EARLY_AGGREGATIONstatic StringFORCE_RERUNstatic StringFORCE_RESTARTstatic DateFormatLOCAL_TIME_DATE_FORMATstatic StringLOCAL_TIME_DATE_FORMAT_PATTERNstatic StringNAMEstatic StringRECORD_TYPE_INPUT_PARAMETERstatic StringRESTART_FROM_LAST_AGGREGATION_DATE_INPUT_PARAMETER
-
Constructor Summary
Constructors Constructor Description AccountingAggregatorPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlaunch(Map<String,Object> inputs)protected voidonStop()
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
AGGREGATION_TYPE_INPUT_PARAMETER
public static final String AGGREGATION_TYPE_INPUT_PARAMETER
Key to indicateAggregationType- See Also:
- Constant Field Values
-
AGGREGATION_START_DATE_INPUT_PARAMETER
public static final String AGGREGATION_START_DATE_INPUT_PARAMETER
Day is ignored for MONTHLY aggregation Month and Day are ignored for YEARLY aggregation- See Also:
- Constant Field Values
-
AGGREGATION_END_DATE_INPUT_PARAMETER
public static final String AGGREGATION_END_DATE_INPUT_PARAMETER
- See Also:
- Constant Field Values
-
RESTART_FROM_LAST_AGGREGATION_DATE_INPUT_PARAMETER
public static final String RESTART_FROM_LAST_AGGREGATION_DATE_INPUT_PARAMETER
- See Also:
- Constant Field Values
-
AGGREGATION_START_DATE_DATE_FORMAT_PATTERN
public static final String AGGREGATION_START_DATE_DATE_FORMAT_PATTERN
- See Also:
- Constant Field Values
-
AGGREGATION_START_DATE_DATE_FORMAT
public static final DateFormat AGGREGATION_START_DATE_DATE_FORMAT
-
FORCE_EARLY_AGGREGATION
public static final String FORCE_EARLY_AGGREGATION
- See Also:
- Constant Field Values
-
FORCE_RERUN
public static final String FORCE_RERUN
- See Also:
- Constant Field Values
-
FORCE_RESTART
public static final String FORCE_RESTART
- See Also:
- Constant Field Values
-
ELABORATION_TYPE_INPUT_PARAMETER
public static final String ELABORATION_TYPE_INPUT_PARAMETER
Indicate which types of elaboration the plugin must perform- See Also:
- Constant Field Values
-
LOCAL_TIME_DATE_FORMAT_PATTERN
public static final String LOCAL_TIME_DATE_FORMAT_PATTERN
- See Also:
- Constant Field Values
-
LOCAL_TIME_DATE_FORMAT
public static final DateFormat LOCAL_TIME_DATE_FORMAT
-
RECORD_TYPE_INPUT_PARAMETER
public static final String RECORD_TYPE_INPUT_PARAMETER
- See Also:
- Constant Field Values
-
-