public abstract class BasicHarvester extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Date |
end |
protected java.time.Instant |
instant |
protected Date |
start |
| Constructor and Description |
|---|
BasicHarvester(Date start,
Date end) |
| Modifier and Type | Method and Description |
|---|---|
abstract List<org.gcube.accounting.accounting.summary.access.model.update.AccountingRecord> |
getAccountingRecords() |
static String |
getCurrentContext() |
static String |
getCurrentContext(String token) |
org.gcube.accounting.accounting.summary.access.model.internal.Dimension |
getDimension(HarvestedDataKey harvestedDataKey) |
static void |
setContext(String token) |
protected final Date start
protected final Date end
protected final java.time.Instant instant
public BasicHarvester(Date start, Date end) throws ParseException
ParseExceptionpublic static String getCurrentContext(String token) throws Exception
Exceptionpublic abstract List<org.gcube.accounting.accounting.summary.access.model.update.AccountingRecord> getAccountingRecords() throws Exception
Exceptionpublic org.gcube.accounting.accounting.summary.access.model.internal.Dimension getDimension(HarvestedDataKey harvestedDataKey)
Copyright © 2019. All Rights Reserved.