public abstract static class Test.TagTest extends Test
check(OsmPrimitive)
.Test.TagTest
checkBeforeUpload, checkEnabled, description, enabled, errors, isBeforeUpload, name, partialSelection, progressMonitor, startTime, testBeforeUpload
Constructor and Description |
---|
TagTest(java.lang.String name)
Constructs a new
TagTest with given name. |
TagTest(java.lang.String name,
java.lang.String description)
Constructs a new
TagTest with given name and description. |
Modifier and Type | Method and Description |
---|---|
abstract void |
check(OsmPrimitive p)
Checks the tags of the given primitive.
|
void |
visit(Node n)
Visiting call for points.
|
void |
visit(Relation r)
Visiting call for relations.
|
void |
visit(Way w)
Visiting call for lines.
|
addGui, deletePrimitivesIfNeeded, endTest, equals, fixError, getErrors, getName, hashCode, initialize, isBuilding, isCanceled, isFixable, isPrimitiveUsable, ok, setBeforeUpload, setPartialSelection, startTest, testBeforeUpload, visit
visit
public TagTest(java.lang.String name, java.lang.String description)
TagTest
with given name and description.name
- The test namedescription
- The test descriptionpublic TagTest(java.lang.String name)
TagTest
with given name.name
- The test namepublic abstract void check(OsmPrimitive p)
p
- The primitive to testpublic void visit(Node n)
Visitor