Class BannedImportGroup

java.lang.Object
de.ikor.sip.foundation.mvnplugin.model.BannedImportGroup

public final class BannedImportGroup extends Object
Holds the information of what imports should be banned and from which base package.
  • Constructor Details

    • BannedImportGroup

      public BannedImportGroup(String basePackage, List<String> bannedImports)
  • Method Details

    • getBasePackages

      public String getBasePackages()
    • isImportBanned

      public boolean isImportBanned(String importName)
    • matches

      public boolean matches(String packageName)
    • regexMatch

      public boolean regexMatch(String pattern, String matchString)