Class UnclosedWays
- java.lang.Object
-
- org.openstreetmap.josm.data.validation.Test
-
- org.openstreetmap.josm.data.validation.tests.UnclosedWays
-
- All Implemented Interfaces:
OsmPrimitiveVisitor
public class UnclosedWays extends Test
Check area type ways for errors- Since:
- 3669
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
UnclosedWays.UnclosedWaysBooleanCheck
A check performed by UnclosedWays test where the key is treated as boolean.private static class
UnclosedWays.UnclosedWaysCheck
A check performed by UnclosedWays test.-
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.validation.Test
Test.TagTest
-
-
Field Summary
Fields Modifier and Type Field Description private static UnclosedWays.UnclosedWaysCheck[]
checks
-
Fields inherited from class org.openstreetmap.josm.data.validation.Test
checkBeforeUpload, checkEnabled, description, enabled, errors, IN_DOWNLOADED_AREA, IN_DOWNLOADED_AREA_STRICT, isBeforeUpload, name, partialSelection, progressMonitor, stopwatch, testBeforeUpload
-
-
Constructor Summary
Constructors Constructor Description UnclosedWays()
Constructs a newUnclosedWays
test.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getCheckedKeys()
Returns the set of checked OSM keys.void
visit(Way w)
Visiting call for lines.-
Methods inherited from class org.openstreetmap.josm.data.validation.Test
addGui, clear, deletePrimitivesIfNeeded, endTest, fixError, getErrors, getName, getSource, initialize, isBuilding, isCanceled, isFixable, isPrimitiveUsable, isResidentialArea, ok, setBeforeUpload, setPartialSelection, setShowElements, startTest, testBeforeUpload, visit, visit, visit
-
-
-
-
Field Detail
-
checks
private static final UnclosedWays.UnclosedWaysCheck[] checks
-
-
Constructor Detail
-
UnclosedWays
public UnclosedWays()
Constructs a newUnclosedWays
test.
-
-
Method Detail
-
getCheckedKeys
public Set<String> getCheckedKeys()
Returns the set of checked OSM keys.- Returns:
- The set of checked OSM keys.
- Since:
- 6390
-
visit
public void visit(Way w)
Description copied from interface:OsmPrimitiveVisitor
Visiting call for lines.- Specified by:
visit
in interfaceOsmPrimitiveVisitor
- Overrides:
visit
in classTest
- Parameters:
w
- The way to inspect.
-
-