Interface Report
-
- All Known Implementing Classes:
ReportAccountingImpl
public interface Report
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit()voidprintRecord(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord record)voidsend(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur)send reportorg.gcube.accounting.datamodel.usagerecords.StorageUsageRecordsetGenericProperties(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur, String resourceType, String consumerId, String resourceScope, String creationTime, String lastAccess, String owner, String operation, String size)Set generic properties of reportorg.gcube.accounting.datamodel.usagerecords.StorageUsageRecordsetSpecificProperties(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur, String filePath, String dataType, String callerIP, String id)Set end time of operation and other specific properties
-
-
-
Method Detail
-
init
void init()
-
setGenericProperties
org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord setGenericProperties(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur, String resourceType, String consumerId, String resourceScope, String creationTime, String lastAccess, String owner, String operation, String size)Set generic properties of report- Parameters:
resourceType-consumerId-resourceOwner-resourceScope-- Returns:
-
setSpecificProperties
org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord setSpecificProperties(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur, String filePath, String dataType, String callerIP, String id)Set end time of operation and other specific properties- Returns:
-
send
void send(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur)
send report
-
printRecord
void printRecord(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord record)
-
-