1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package io.wcm.handler.url;
21
22 import org.apache.sling.caconfig.annotation.Configuration;
23 import org.apache.sling.caconfig.annotation.Property;
24
25
26
27
28 @Configuration(label = "wcm.io Handler Site URLs",
29 description = "Defines Site URLs for Author and Publish environments.")
30 public @interface SiteConfig {
31
32
33
34
35
36 @Property(label = "Site URL",
37 description = "Public website URL for non-secure access. Add placeholder '<auto>' to enable auto-detection from request.")
38 String siteUrl();
39
40
41
42
43
44 @Property(label = "Site URL Secure",
45 description = "Public website URL for secure access. Add placeholder '<auto>' to enable auto-detection from request.")
46 String siteUrlSecure();
47
48
49
50
51
52 @Property(label = "Author URL",
53 description = "URL for author instance. Add placeholder '<auto>' to enable auto-detection from request.")
54 String siteUrlAuthor();
55
56 }