public class AccountingAggregatorPlugin extends org.gcube.vremanagement.executor.plugin.Plugin<AccountingAggregatorPluginDeclaration>
| Modifier and Type | Class and Description |
|---|---|
static class |
AccountingAggregatorPlugin.ElaborationType |
| Modifier and Type | Field and Description |
|---|---|
static DateFormat |
AGGREGATION_START_DATE_DATE_FORMAT |
static String |
AGGREGATION_START_DATE_DATE_FORMAT_PATTERN |
static String |
AGGREGATION_START_DATE_INPUT_PARAMETER
Day is ignored for MONTHLY aggregation
Month and Day are ignored for YEARLY aggregation
|
static String |
AGGREGATION_TYPE_INPUT_PARAMETER
Key to indicate
AggregationType |
static String |
ELABORATION_TYPE_INPUT_PARAMETER
Indicate which types of elaboration the plugin must perform
|
static DateFormat |
LOCAL_TIME_DATE_FORMAT |
static String |
LOCAL_TIME_DATE_FORMAT_PATTERN |
static String |
PERSIST_END_TIME_INPUT_PARAMETER |
static String |
PERSIST_START_TIME_INPUT_PARAMETER
Start Day Time in UTC when the plugin is allowed to write in buckets
|
static DateFormat |
PERSIST_TIME_DATE_FORMAT |
static String |
PERSIST_TIME_DATE_FORMAT_PATTERN |
static String |
RECORD_TYPE_INPUT_PARAMETER |
static String |
RESTART_FROM_LAST_AGGREGATION_DATE_INPUT_PARAMETER |
| Constructor and Description |
|---|
AccountingAggregatorPlugin(AccountingAggregatorPluginDeclaration pluginDeclaration) |
| Modifier and Type | Method and Description |
|---|---|
void |
launch(Map<String,Object> inputs) |
protected void |
onStop() |
public static final String AGGREGATION_TYPE_INPUT_PARAMETER
AggregationTypepublic static final String AGGREGATION_START_DATE_INPUT_PARAMETER
public static final String RESTART_FROM_LAST_AGGREGATION_DATE_INPUT_PARAMETER
public static final String AGGREGATION_START_DATE_DATE_FORMAT_PATTERN
public static final DateFormat AGGREGATION_START_DATE_DATE_FORMAT
public static final String ELABORATION_TYPE_INPUT_PARAMETER
public static final String PERSIST_START_TIME_INPUT_PARAMETER
public static final String PERSIST_END_TIME_INPUT_PARAMETER
public static final String PERSIST_TIME_DATE_FORMAT_PATTERN
public static final DateFormat PERSIST_TIME_DATE_FORMAT
public static final String LOCAL_TIME_DATE_FORMAT_PATTERN
public static final DateFormat LOCAL_TIME_DATE_FORMAT
public static final String RECORD_TYPE_INPUT_PARAMETER
public AccountingAggregatorPlugin(AccountingAggregatorPluginDeclaration pluginDeclaration)
runningPluginEvolution - public void launch(Map<String,Object> inputs) throws Exception
launch in class org.gcube.vremanagement.executor.plugin.Plugin<AccountingAggregatorPluginDeclaration>Exceptionprotected void onStop()
throws Exception
onStop in class org.gcube.vremanagement.executor.plugin.Plugin<AccountingAggregatorPluginDeclaration>ExceptionCopyright © 2017. All Rights Reserved.