| Constructor and Description |
|---|
SpacePermissionValidator(String spaceKey) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public SpacePermissionValidator(String spaceKey)
public boolean handles(ImportedObject object)
Validatorpublic void validate(ImportedObject object) throws ValidationException
ValidatorValidator.handles(com.atlassian.confluence.importexport.xmlimport.model.ImportedObject) returns false.validate in interface Validatorobject - the object to import.ValidationException - if the object to import is not valid.Copyright © 2003–2016 Atlassian. All rights reserved.