Interface RoleMaintainer

All Known Implementing Classes:
RoleMaintainerMock

public interface RoleMaintainer
Author:
olaa
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteLeftoverRoles(List<Tenant> tenants, List<com.yahoo.config.provision.ApplicationId> applications)
    Given the set of all existing tenants and applications, delete any superflous roles
    Finds the subset of tenants that should be deleted based on role/domain existence
  • Method Details

    • deleteLeftoverRoles

      void deleteLeftoverRoles(List<Tenant> tenants, List<com.yahoo.config.provision.ApplicationId> applications)
      Given the set of all existing tenants and applications, delete any superflous roles
    • tenantsToDelete

      List<Tenant> tenantsToDelete(List<Tenant> tenants)
      Finds the subset of tenants that should be deleted based on role/domain existence