public final class FilterSets extends Object implements net.adamcin.oakpal.api.ProgressCheckFactory
WorkspaceFilter
.
config
options:
importModeSeverity
Severity.MINOR
) The default ImportMode
for a
filter set is ImportMode.REPLACE
. FileVault also supports ImportMode.UPDATE
and
ImportMode.MERGE
, but it also supports forcing the import mode for an entire package via
ImportOptions.setImportMode(ImportMode)
, which certain platforms use to
force REPLACE
, such as when installing a .snapshot
package when a user has requested an
uninstall. For this reason, MERGE
and UPDATE
are considered to be risky, and developers are
encouraged to make filter roots more specific and granular to eliminate overlap with other packages installing
content within the same repository tree. Set this to value to MAJOR
or SEVERE
to dial up the
encouragement.Modifier and Type | Class and Description |
---|---|
static interface |
FilterSets.JsonKeys |
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_ALLOW_EMPTY_FILTER
Deprecated.
|
static String |
CONFIG_ALLOW_ROOT_FILTER
Deprecated.
|
static String |
CONFIG_IMPORT_MODE_SEVERITY
Deprecated.
|
static net.adamcin.oakpal.api.Severity |
DEFAULT_IMPORT_MODE_SEVERITY |
Constructor and Description |
---|
FilterSets() |
Modifier and Type | Method and Description |
---|---|
static @NotNull FilterSets.JsonKeys |
keys() |
net.adamcin.oakpal.api.ProgressCheck |
newInstance(javax.json.JsonObject config) |
@Deprecated public static final String CONFIG_IMPORT_MODE_SEVERITY
@Deprecated public static final String CONFIG_ALLOW_EMPTY_FILTER
@Deprecated public static final String CONFIG_ALLOW_ROOT_FILTER
public static final net.adamcin.oakpal.api.Severity DEFAULT_IMPORT_MODE_SEVERITY
@NotNull public static @NotNull FilterSets.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.