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)
Validator
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.Copyright © 2003–2016 Atlassian. All rights reserved.