コード例 #1
0
 public static Iterable<PluginLicense> getNearlyExpiredEvaluationPluginLicenses(
     PluginLicenseRepository licenseRepository,
     PluginAccessorAndController pluginAccessorAndController) {
   return filter(
       licenseRepository.getPluginLicenses(),
       and(
           isNearlyExpired(),
           isEvaluation(),
           not(isUninstalledLegacyPlugin(pluginAccessorAndController))));
 }
コード例 #2
0
 public static Iterable<PluginLicense> getMaintenanceRecentlyExpiredPluginLicenses(
     PluginLicenseRepository licenseRepository,
     PluginAccessorAndController pluginAccessorAndController) {
   return filter(
       licenseRepository.getPluginLicenses(),
       and(
           isRecentlyMaintenanceExpired(),
           not(isEvaluation()),
           not(isUninstalledLegacyPlugin(pluginAccessorAndController))));
 }
コード例 #3
0
 public static Iterable<PluginLicense> getUserMismatchPluginLicenses(
     PluginLicenseRepository licenseRepository) {
   return licenseRepository.getPluginLicenses(USER_MISMATCH);
 }