Interface Report

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void init()  
      void printRecord​(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord record)  
      void send​(org.gcube.accounting.datamodel.usagerecords.StorageUsageRecord sur)
      send report
      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
      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
    • 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)