change editor to the new config

The editor should handle the new configuration
This commit is contained in:
2016-09-01 08:12:26 +02:00
committed by Andreas Billmann
parent 0c391e292e
commit 742f129ea9
5 changed files with 43 additions and 52 deletions

View File

@@ -30,7 +30,7 @@ package ninja.javafx.smartcsv.validation;
*/
public interface Validation {
enum Type { NOT_EMPTY, UNIQUE, DOUBLE, INTEGER, MIN_LENGTH, MAX_LENGTH, DATE, ALPHANUMERIC, REGEXP, VALUE_OF, GROOVY }
enum Type { NOT_EMPTY, UNIQUE, DOUBLE, INTEGER, MIN_LENGTH, MAX_LENGTH, DATE, REGEXP, VALUE_OF, GROOVY }
void check(int row, String value, ValidationError error);
Type getType();
boolean canBeChecked(String value);