Package net.sf.basedb.util.fileset
Class ValidationRenderer
java.lang.Object
net.sf.basedb.util.extensions.AbstractRenderer<ValidationAction>
net.sf.basedb.util.fileset.ValidationRenderer
- All Implemented Interfaces:
Renderer<ValidationAction>
Renderer implementation for validating the members of a file set.
- Since:
- 3.0
- Author:
- Nicklas
- Last modified
- $Date: 2023-02-22 08:58:38 +0100 (Wed, 22 Feb 2023) $
-
Field Summary
-
Constructor Summary
ConstructorDescriptionValidationRenderer
(List<ValidatingFileSetMember> members, List<Throwable> errors) Create a new renderer instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(ValidationAction action, Extension<? extends ValidationAction> ext) Render the action in the client application.private void
validate
(ValidationAction action) Methods inherited from class net.sf.basedb.util.extensions.AbstractRenderer
render
-
Field Details
-
members
-
errors
-
isValid
private boolean isValid -
message
-
-
Constructor Details
-
ValidationRenderer
Create a new renderer instance.- Parameters:
members
- A list with the members of the file seterrors
- A list for collecting validation errors
-
-
Method Details
-
render
Description copied from interface:Renderer
Render the action in the client application.The default implementation of this method simply call the
Renderer.render(Action)
method.- Parameters:
action
- The action to render
-
validate
-