1 package com.github.mygreen.supercsv.cellprocessor;
2
3 import java.lang.annotation.Annotation;
4 import java.util.Optional;
5
6 import org.supercsv.cellprocessor.ift.CellProcessor;
7
8 import com.github.mygreen.supercsv.builder.Configuration;
9 import com.github.mygreen.supercsv.builder.FieldAccessor;
10 import com.github.mygreen.supercsv.cellprocessor.format.TextFormatter;
11
12
13
14
15
16
17
18
19
20 @FunctionalInterface
21 public interface ConstraintProcessorFactory<A extends Annotation> {
22
23
24
25
26
27
28
29
30
31
32
33
34 Optional<CellProcessor> create(A anno, Optional<CellProcessor> next, FieldAccessor field,
35 TextFormatter<?> formatter, Configuration config);
36
37 }