Interface AssetUsageTracker


  • public interface AssetUsageTracker
    The AssetUsageTracker interface describes the methods for recording and accessing the asset usage record.
    • Method Detail

      • getAssetScore

        long getAssetScore​(Asset asset)
        Gets the asset score.
        Parameters:
        asset - asset for which score is required
        Returns:
        the asset score
      • getUsageStats

        java.util.List<AssetUsageTracker.AggregateUsageInfo> getUsageStats​(Asset asset,
                                                                           java.util.List<java.lang.String> usagesType)
        Gets the asset usage stats.
        Parameters:
        asset - the asset for which information is required
        usagesType - list of usages to be returned
        Returns:
        the list of AggregateUsageInfo for all the solutions in which this asset has been used.