Class PkgImportRule

    • Field Detail

      • pkgName

        private final String pkgName
        Package to control access to.
      • exactMatch

        private final boolean exactMatch
        Indicates if the package name must be an exact match.
    • Constructor Detail

      • PkgImportRule

        PkgImportRule​(boolean allow,
                      boolean localOnly,
                      String pkgName,
                      boolean exactMatch,
                      boolean regExp)
        Constructs an instance.
        allow - whether to allow access.
        localOnly - whether the rule is to be applied locally only
        pkgName - the package to apply the rule on.
        exactMatch - whether the package name must match exactly.
        regExp - whether the package name is to be interpreted as a regular expression.