|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.migration.verify.LegacyXmlVerifier
public class LegacyXmlVerifier
Responsible for verifying the correctness of a legacy XML backup.
Currently this verifies that roles and groups within a directory have different names (case-insensitive comparison).
Constructor Summary | |
---|---|
LegacyXmlVerifier()
|
Method Summary | |
---|---|
void |
clearState()
This method will be called between runs of the verifier to make sure that state can be purged between runs if required. |
java.util.List<java.lang.String> |
getErrors()
|
boolean |
hasErrors()
|
void |
verify(org.dom4j.Element root)
Verifies an XML document to ensure: 1. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LegacyXmlVerifier()
Method Detail |
---|
public void verify(org.dom4j.Element root)
getErrors
.
verify
in interface Verifier
root
- root of the XML document.public void clearState()
Verifier
clearState
in interface Verifier
public boolean hasErrors()
hasErrors
in interface Verifier
public java.util.List<java.lang.String> getErrors()
getErrors
in interface Verifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |