public final class Subpackages extends Object implements net.adamcin.oakpal.api.ProgressCheckFactory
Example config denying all subpackages:
"config": { "denyAll": true }
Example config requiring an explicit group for all subpackages:
"config": { "rules": [{ "type": "deny", "pattern": "my_packages/.*" }] }
config
options:
rules
Rule
elements. Rules are evaluated top-to-bottom. The type of the last rule to match is
the effective action taken for the element. Any affected packageId matching a DENY rule will be reported as a
violation.denyAll
Modifier and Type | Class and Description |
---|---|
static interface |
Subpackages.JsonKeys |
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_DENY_ALL
Deprecated.
|
static String |
CONFIG_RULES
Deprecated.
|
Constructor and Description |
---|
Subpackages() |
Modifier and Type | Method and Description |
---|---|
static @NotNull Subpackages.JsonKeys |
keys() |
net.adamcin.oakpal.api.ProgressCheck |
newInstance(javax.json.JsonObject config) |
@Deprecated public static final String CONFIG_RULES
@Deprecated public static final String CONFIG_DENY_ALL
@NotNull public static @NotNull Subpackages.JsonKeys keys()
public net.adamcin.oakpal.api.ProgressCheck newInstance(javax.json.JsonObject config)
newInstance
in interface net.adamcin.oakpal.api.ProgressCheckFactory
Copyright © 2017–2020. All rights reserved.