Package net.sf.basedb.util.fileset
Class ValidationRenderer
java.lang.Object
net.sf.basedb.util.fileset.ValidationRenderer
- All Implemented Interfaces:
Renderer<ValidationAction>
public class ValidationRenderer extends Object implements Renderer<ValidationAction>
Renderer implementation for validating the members of a file set.
- Since:
- 3.0
- Author:
- Nicklas
- Last modified
- $Date: 2011-05-06 14:09:13 +0200 (fr, 06 maj 2011) $
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ValidationRenderer(List<ValidatingFileSetMember> members, List<Throwable> errors)
Create a new renderer instance. -
Method Summary
Modifier and Type Method Description void
render(ValidationAction action)
Render the action in the client application.private void
validate(ValidationAction action)
-
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.- Specified by:
render
in interfaceRenderer<ValidationAction>
- Parameters:
action
- The action to render
-
validate
-