com.atlassian.crowd.migration.verify
Interface Verifier

All Known Implementing Classes:
LegacyXmlVerifier, VersionMismatchVerifier

public interface Verifier

Responsible for verifying the correctness of an XML backup.


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.
 List<String> getErrors()
           
 boolean hasErrors()
           
 void verify(org.dom4j.Element root)
           
 

Method Detail

verify

void verify(org.dom4j.Element root)

clearState

void clearState()
This method will be called between runs of the verifier to make sure that state can be purged between runs if required.


hasErrors

boolean hasErrors()

getErrors

List<String> getErrors()


Copyright © 2013 Atlassian. All Rights Reserved.