Modifier and Type | Field and Description |
---|---|
private java.util.List<TestError> |
ValidateAction.ValidationTask.errors |
Modifier and Type | Method and Description |
---|---|
private boolean |
ValidateUploadHook.displayErrorScreen(java.util.List<TestError> errors)
Displays a screen where the actions that would be taken are displayed and
give the user the possibility to cancel the upload.
|
Modifier and Type | Class and Description |
---|---|
class |
FixableTestError
Validation error easily fixable right at its detection.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<TestError> |
Test.errors
The list of errors
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TestError> |
Test.getErrors()
Gets the validation errors accumulated until this moment.
|
Modifier and Type | Method and Description |
---|---|
int |
TestError.compareTo(TestError o) |
Command |
Test.fixError(TestError testError)
Fixes the error with the appropriate command
|
boolean |
Test.isFixable(TestError testError)
Returns true if the given error can be fixed automatically
|
void |
PaintVisitor.visit(TestError error) |
void |
ValidatorVisitor.visit(TestError error) |
Modifier and Type | Class and Description |
---|---|
protected class |
Addresses.AddressError |
protected class |
Highways.WrongRoundaboutHighway |
protected class |
PowerLines.PowerLineError |
Modifier and Type | Method and Description |
---|---|
private TestError |
InternetTags.doValidateTag(OsmPrimitive p,
java.lang.String k,
java.lang.String v,
AbstractValidator validator,
int code)
Validates a given primitive tag against a given validator.
|
(package private) TestError |
MapCSSTagChecker.TagCheck.getErrorForPrimitive(OsmPrimitive p)
Constructs a
TestError for the given primitive, or returns null if the primitive does not give rise to an error. |
(package private) TestError |
MapCSSTagChecker.TagCheck.getErrorForPrimitive(OsmPrimitive p,
Selector matchingSelector,
Environment env) |
TestError |
OpeningHourTest.OpeningHoursTestError.getTestError(OsmPrimitive p,
java.lang.String key)
Returns the real test error given to JOSM validator.
|
TestError |
UnclosedWays.UnclosedWaysCheck.getTestError(Way w)
Returns the test error of the given way, if any.
|
TestError |
InternetTags.validateTag(OsmPrimitive p,
java.lang.String k,
AbstractValidator validator,
int code)
Validates a given primitive tag against a given validator.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TestError> |
DuplicateNode.buildTestErrors(Test parentTest,
java.util.List<Node> nodes)
Returns the list of "duplicate nodes" errors for the given selection of node and parent test
|
java.util.Collection<TestError> |
MapCSSTagChecker.getErrorsForPrimitive(OsmPrimitive p,
boolean includeOtherSeverity)
|
private static java.util.Collection<TestError> |
MapCSSTagChecker.getErrorsForPrimitive(OsmPrimitive p,
boolean includeOtherSeverity,
java.util.Collection<java.util.Set<MapCSSTagChecker.TagCheck>> checksCol) |
java.util.List<TestError> |
ConditionalKeys.validatePrimitive(OsmPrimitive p) |
Modifier and Type | Method and Description |
---|---|
private void |
MultipolygonTest.addError(Relation r,
TestError error) |
private void |
MultipolygonTest.addRelationIfNeeded(TestError error,
Relation r) |
Command |
DuplicateRelation.fixError(TestError testError)
Fix the error by removing all but one instance of duplicate relations
|
Command |
DuplicatedWayNodes.fixError(TestError testError) |
Command |
UntaggedWay.fixError(TestError testError) |
Command |
TagChecker.fixError(TestError testError) |
Command |
Highways.fixError(TestError testError) |
Command |
RelationChecker.fixError(TestError testError) |
Command |
Coastlines.fixError(TestError testError) |
Command |
PowerLines.fixError(TestError testError) |
Command |
DuplicateNode.fixError(TestError testError)
Merge the nodes into one.
|
Command |
UntaggedNode.fixError(TestError testError) |
Command |
DuplicateWay.fixError(TestError testError)
Fix the error by removing all but one instance of duplicate ways
|
boolean |
DuplicateRelation.isFixable(TestError testError) |
boolean |
DuplicatedWayNodes.isFixable(TestError testError) |
boolean |
UntaggedWay.isFixable(TestError testError) |
boolean |
TagChecker.isFixable(TestError testError) |
boolean |
Highways.isFixable(TestError testError) |
boolean |
RelationChecker.isFixable(TestError testError) |
boolean |
Coastlines.isFixable(TestError testError) |
boolean |
PowerLines.isFixable(TestError testError) |
boolean |
DuplicateNode.isFixable(TestError testError) |
boolean |
UntaggedNode.isFixable(TestError testError) |
boolean |
DuplicateWay.isFixable(TestError testError) |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<TestError> |
ValidatorDialog.FixTask.testErrors |
Modifier and Type | Method and Description |
---|---|
TestError |
ValidatorDialog.getSelectedError()
Replies the currently selected error, or
null . |
Modifier and Type | Method and Description |
---|---|
protected void |
ValidatorDialog.FixTask.fixError(TestError error) |
void |
ValidatorDialog.ValidatorBoundingXYVisitor.visit(TestError error) |
Constructor and Description |
---|
ValidatorDialog.FixTask(java.util.Collection<TestError> testErrors) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<TestError> |
ValidatorTreePanel.errors
The list of errors shown in the tree
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TestError> |
ValidatorTreePanel.getErrors()
Returns the errors of the tree
|
Modifier and Type | Method and Description |
---|---|
void |
ValidatorTreePanel.setErrorList(java.util.List<TestError> errors)
Sets the errors list used by a data layer
|
void |
ValidatorTreePanel.setErrors(java.util.List<TestError> newerrors)
Clears the current error list and adds these errors to it
|
Constructor and Description |
---|
ValidatorTreePanel(java.util.List<TestError> errors)
Constructor
|
Modifier and Type | Field and Description |
---|---|
java.util.List<TestError> |
OsmDataLayer.validationErrors
List of validation errors in this layer.
|