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 @Property(label = "Site URL",
36 description = "Public website URL for non-secure access. Add placeholder '<auto>' to enable auto-detection from request.")
37 String siteUrl();
38
39
40
41
42 @Property(label = "Site URL Secure",
43 description = "Public website URL for secure access. Add placeholder '<auto>' to enable auto-detection from request.")
44 String siteUrlSecure();
45
46
47
48
49 @Property(label = "Author URL",
50 description = "URL for author instance. Add placeholder '<auto>' to enable auto-detection from request.")
51 String siteUrlAuthor();
52
53 }