Class ValidatorPrefHelper
java.lang.Object
org.openstreetmap.josm.data.preferences.sources.SourcePrefHelper
org.openstreetmap.josm.data.preferences.sources.ValidatorPrefHelper
Helper class for validator tag checker rules preferences.
- Since:
- 12649 (extracted from gui.preferences package)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ValidatorPrefHelperThe unique instance.static final BooleanPropertySee #23397 The preferences key for the addition of parent objects for modified objectsstatic final StringThe preferences key for enabling the permanent filtering of the displayed errors in the tree regarding the current selectionstatic final StringThe preferences key for the ignoreliststatic final StringThe preferences key for the ignorelist formatstatic final BooleanPropertyThe preferences key for error layerstatic final BooleanPropertyThe preferences for ignored severity otherstatic final BooleanPropertyThe preferences key for ignored severity other on uploadstatic final BooleanPropertySee #23397 The preferences key for the deletion of results which do not belong to the selection or the parents of modified objects.static final StringThe preferences key for enabled testsstatic final StringThe preferences key for enabled tests before uploadstatic final BooleanPropertySee #23519 The preferences key for the automatic unfurl of the validation result windowstatic final BooleanPropertyThe preferences key for enabled testsstatic final StringThe preferences prefixFields inherited from class org.openstreetmap.josm.data.preferences.sources.SourcePrefHelper
type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddDefault(List<ExtendedSourceEntry> defaults, String filename, String title, String description) Returns the default sources provided by JOSM core.serialize(SourceEntry entry) Serializes the given source entry as a map.Methods inherited from class org.openstreetmap.josm.data.preferences.sources.SourcePrefHelper
deserialize, get, getActiveUrls, put
-
Field Details
-
INSTANCE
The unique instance. -
PREFIX
The preferences prefix- See Also:
-
PREF_LAYER
The preferences key for error layer -
PREF_SKIP_TESTS
The preferences key for enabled tests- See Also:
-
PREF_USE_IGNORE
The preferences key for enabled tests -
PREF_SKIP_TESTS_BEFORE_UPLOAD
The preferences key for enabled tests before upload- See Also:
-
PREF_OTHER_UPLOAD
The preferences key for ignored severity other on upload -
PREF_OTHER
The preferences for ignored severity other -
PREF_IGNORELIST
The preferences key for the ignorelist- See Also:
-
PREF_IGNORELIST_FORMAT
The preferences key for the ignorelist format- See Also:
-
PREF_FILTER_BY_SELECTION
The preferences key for enabling the permanent filtering of the displayed errors in the tree regarding the current selection- See Also:
-
PREF_ADD_PARENTS
See #23397 The preferences key for the addition of parent objects for modified objects -
PREF_REMOVE_IRRELEVANT
See #23397 The preferences key for the deletion of results which do not belong to the selection or the parents of modified objects. -
PREF_UNFURL
See #23519 The preferences key for the automatic unfurl of the validation result window
-
-
Constructor Details
-
ValidatorPrefHelper
public ValidatorPrefHelper()Constructs a newPresetPrefHelper.
-
-
Method Details
-
getDefault
Description copied from class:SourcePrefHelperReturns the default sources provided by JOSM core.- Specified by:
getDefaultin classSourcePrefHelper- Returns:
- the default sources provided by JOSM core
-
addDefault
private void addDefault(List<ExtendedSourceEntry> defaults, String filename, String title, String description) -
serialize
Description copied from class:SourcePrefHelperSerializes the given source entry as a map.- Overrides:
serializein classSourcePrefHelper- Parameters:
entry- source entry to serialize- Returns:
- map (key=value)
-