Class Lanes
java.lang.Object
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.Test.TagTest
org.openstreetmap.josm.data.validation.tests.Lanes
- All Implemented Interfaces:
OsmPrimitiveVisitor
Test that validates
lane: tags.- Since:
- 6592
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.validation.Test
Test.TagTest -
Field Summary
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks the tags of the given primitive.protected voidprotected voidcheckNumberOfLanesByKey(OsmPrimitive p, String lanesKey, String message) (package private) static intgetLanesCount(String value) booleanDetermines if the primitive is usable for tests.Methods inherited from class org.openstreetmap.josm.data.validation.Test.TagTest
includeOtherSeverityChecks, visit, visit, visitMethods inherited from class org.openstreetmap.josm.data.validation.Test
addGui, clear, deletePrimitivesIfNeeded, endTest, fixError, getErrors, getName, getSource, initialize, isBuilding, isCanceled, isFixable, isResidentialArea, ok, removeIrrelevantErrors, setBeforeUpload, setPartialSelection, setShowElements, startTest, testBeforeUpload, visit
-
Field Details
-
BLACKLIST
-
-
Constructor Details
-
Lanes
public Lanes()Constructs a newLanestest.
-
-
Method Details
-
getLanesCount
-
checkNumberOfLanesByKey
-
checkNumberOfLanes
-
check
Description copied from class:Test.TagTestChecks the tags of the given primitive.- Specified by:
checkin classTest.TagTest- Parameters:
p- The primitive to test
-
isPrimitiveUsable
Description copied from class:TestDetermines if the primitive is usable for tests.- Overrides:
isPrimitiveUsablein classTest- Parameters:
p- The primitive- Returns:
trueif the primitive can be tested,falseotherwise
-