com.atlassian.crowd.migration.verify
Class VerificationManager

java.lang.Object
  extended by com.atlassian.crowd.migration.verify.VerificationManager

public class VerificationManager
extends java.lang.Object

This manager will look after verifiers that need to run against the imported XML document before import to validate that the import can proceed.


Constructor Summary
VerificationManager(java.util.List<Verifier> verifiers)
           
 
Method Summary
 void validate(org.dom4j.Document document)
          Will validate the given document against a list of Verifier's
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerificationManager

public VerificationManager(java.util.List<Verifier> verifiers)
Method Detail

validate

public void validate(org.dom4j.Document document)
              throws ImportException
Will validate the given document against a list of Verifier's

Parameters:
document - the document to validate
Throws:
ImportException - if there are any errors during validation


Copyright © 2010 Atlassian. All Rights Reserved.