public final class ExpectPaths extends Object implements net.adamcin.oakpal.api.ProgressCheckFactory
config
options:
expectedPaths
String[]
) A list of expected repository item paths that may reference a node or a property.notExpectedPaths
String[]
) A list of non-expected repository item paths that may reference a node or a property.afterPackageIdRules
Rule[]
) An optional list of patterns describing the scope of package IDs that should trigger evaluation
of path expectations after extraction. By default, the expectations will be evaluated after every package is installed.ignoreNestedPackages
afterPackageIdRules
. Set this to
true to only evaluate after extracting and again after scanning a matching root package.severity
Modifier and Type | Class and Description |
---|---|
static interface |
ExpectPaths.JsonKeys |
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_AFTER_PACKAGE_ID_RULES
Deprecated.
|
static String |
CONFIG_EXPECTED_PATHS
Deprecated.
|
static String |
CONFIG_NOT_EXPECTED_PATHS
Deprecated.
|
static String |
CONFIG_SEVERITY
Deprecated.
|
Constructor and Description |
---|
ExpectPaths() |
Modifier and Type | Method and Description |
---|---|
static @NotNull ExpectPaths.JsonKeys |
keys() |
net.adamcin.oakpal.api.ProgressCheck |
newInstance(javax.json.JsonObject config) |
@Deprecated public static final String CONFIG_EXPECTED_PATHS
@Deprecated public static final String CONFIG_NOT_EXPECTED_PATHS
@Deprecated public static final String CONFIG_AFTER_PACKAGE_ID_RULES
@Deprecated public static final String CONFIG_SEVERITY
@NotNull public static @NotNull ExpectPaths.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.