|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.studio.confluence.com.atlassian.studio.confluence.importexport.entityvalidation.NotImportableEntitiesValidator
public class NotImportableEntitiesValidator
Validator which rejects any entity which shouldn't be imported from a Space backup. Only the confluence-studio-space-import-plugin uses this validation.
Constructor Summary | |
---|---|
NotImportableEntitiesValidator()
|
Method Summary | |
---|---|
boolean |
handles(ImportedObject object)
Tell whether the object will be handled by this validator. |
void |
validate(ImportedObject object)
Perform a validation on the object to import. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotImportableEntitiesValidator()
Method Detail |
---|
public boolean handles(ImportedObject object)
Validator
handles
in interface Validator
object
- the object to import.
public void validate(ImportedObject object) throws ValidationException
Validator
Validator.handles(com.atlassian.confluence.importexport.xmlimport.model.ImportedObject)
returns false.
validate
in interface Validator
object
- the object to import.
ValidationException
- if the object to import is not valid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |