1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package de.smartics.sandbox.mail;
17
18 import javax.validation.constraints.Min;
19
20 import de.smartics.properties.api.core.annotations.AccessType;
21 import de.smartics.properties.api.core.annotations.PropertyExpression;
22 import de.smartics.properties.api.core.annotations.PropertyLifecycle;
23 import de.smartics.properties.api.core.annotations.PropertySet;
24 import de.smartics.properties.api.core.annotations.PropertyLifecycle.UpdateInterval;
25
26
27
28
29 @PropertySet("mail")
30 public interface MailProperties
31 {
32
33
34
35
36
37
38 @PropertyExpression("25")
39 @Min(value = 1)
40 @PropertyLifecycle(access = AccessType.READ_WRITE,
41 updateInterval = UpdateInterval.NO_CACHING)
42 int mailsPerPage();
43
44
45
46
47
48
49 @PropertyLifecycle(access = AccessType.READ_WRITE,
50 updateInterval = UpdateInterval.NO_CACHING)
51 String signature();
52 }