Class BannedImportGroups
- java.lang.Object
-
- de.ikor.sip.foundation.mvnplugin.model.BannedImportGroups
-
public final class BannedImportGroups extends Object
Groups multipleBannedImportGroupobjects.
-
-
Constructor Summary
Constructors Constructor Description BannedImportGroups()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGroup(BannedImportGroup group)Optional<BannedImportGroup>selectGroupFor(String fqcn)Selects theBannedImportGroupwith the most specific base package matching the given full qualified class name.
-
-
-
Method Detail
-
addGroup
public void addGroup(BannedImportGroup group)
-
selectGroupFor
public Optional<BannedImportGroup> selectGroupFor(String fqcn)
Selects theBannedImportGroupwith 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.
-
-