public class RelationChecker extends Test
| Modifier and Type | Class and Description |
|---|---|
private static class |
RelationChecker.RoleInfo |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
HIGH_COUNT |
protected static int |
LOW_COUNT |
protected static int |
RELATION_EMPTY |
protected static int |
RELATION_UNKNOWN |
private static Collection<TaggingPreset> |
relationpresets |
protected static int |
ROLE_EMPTY |
protected static int |
ROLE_MISSING |
protected static int |
ROLE_UNKNOWN |
protected static int |
WRONG_TYPE |
checkBeforeUpload, checkEnabled, description, enabled, errors, isBeforeUpload, name, partialSelection, progressMonitor, startTime, testBeforeUpload| Constructor and Description |
|---|
RelationChecker()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Command |
fixError(TestError testError)
Fixes the error with the appropriate command
|
void |
initialize()
Initializes any global data used this tester.
|
void |
initializePresets()
Reads the presets data.
|
boolean |
isFixable(TestError testError)
Returns true if the given error can be fixed automatically
|
void |
visit(Relation n)
Visiting call for relations.
|
addGui, deletePrimitivesIfNeeded, endTest, getErrors, getName, isBuilding, isCanceled, isPrimitiveUsable, ok, setBeforeUpload, setPartialSelection, startTest, testBeforeUpload, visit, visit, visitvisitprotected static final int ROLE_UNKNOWN
protected static final int ROLE_EMPTY
protected static final int WRONG_TYPE
protected static final int HIGH_COUNT
protected static final int LOW_COUNT
protected static final int ROLE_MISSING
protected static final int RELATION_UNKNOWN
protected static final int RELATION_EMPTY
private static Collection<TaggingPreset> relationpresets
public RelationChecker()
public void initialize()
Testinitialize in class Testpublic void initializePresets()
public void visit(Relation n)
Visitorpublic Command fixError(TestError testError)
Test