Class BannedImportGroups


  • public final class BannedImportGroups
    extends Object
    Groups multiple BannedImportGroup objects.
    Author:
    Simon Taddiken
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object