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 classUnclosedWays.UnclosedWaysBooleanCheckA check performed by UnclosedWays test where the key is treated as boolean.private static classUnclosedWays.UnclosedWaysCheckA 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 newUnclosedWaystest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>getCheckedKeys()Returns the set of checked OSM keys.voidvisit(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, removeIrrelevantErrors, setBeforeUpload, setPartialSelection, setShowElements, startTest, testBeforeUpload, visit, visit, visit
-
-
-
-
Field Detail
-
checks
private static final UnclosedWays.UnclosedWaysCheck[] checks
-
-
Constructor Detail
-
UnclosedWays
public UnclosedWays()
Constructs a newUnclosedWaystest.
-
-
Method Detail
-
getCheckedKeys
public java.util.Set<java.lang.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:OsmPrimitiveVisitorVisiting call for lines.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Overrides:
visitin classTest- Parameters:
w- The way to inspect.
-
-