Class BannedImportGroups

    • Constructor Detail

      • BannedImportGroups

        public BannedImportGroups()
    • Method Detail

      • selectGroupFor

        public Optional<BannedImportGroup> selectGroupFor​(String fqcn)
        Selects the BannedImportGroup with the most specific base package matching the given full qualified class name. If the most specific match also specifies an exclusion pattern for the given fqcn the result will be empty.
        Parameters:
        fqcn - The full qualified class name to find the group for.
        Returns:
        The group with the most specific base package match.