Package org.xwiki.attachment.validation
Interface AttachmentValidationStep
-
@Role @Unstable public interface AttachmentValidationStep
One attachment validation step.AttachmentValidator
calls them one after the other and fails whenever a step fails.- Since:
- 14.10
- Version:
- $Id: 408306ba4dda7e74f52cf176ce1983eb00a81b3e $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validate(AttachmentAccessWrapper wrapper)
Validate a single aspect of the attachment.
-
-
-
Method Detail
-
validate
void validate(AttachmentAccessWrapper wrapper) throws AttachmentValidationException
Validate a single aspect of the attachment.- Parameters:
wrapper
- the attachment wrapper- Throws:
AttachmentValidationException
- in case of validation error
-
-