1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.aws.cloudfront;
17
18 import java.util.List;
19
20 import com.amazonaws.services.s3.model.ObjectListing;
21
22 public class IndexContext {
23
24 ObjectListing listing;
25 String welcomeFileKey;
26 List<String[]> indexData;
27 String indexHtml;
28
29 public IndexContext() {
30 this(null, null, null);
31 }
32
33 public IndexContext(ObjectListing listing) {
34 this(listing, null, null);
35 }
36
37 public IndexContext(ObjectListing listing, List<String[]> indexData, String welcomeFileKey) {
38 super();
39 this.listing = listing;
40 this.indexData = indexData;
41 this.welcomeFileKey = welcomeFileKey;
42 }
43
44 public ObjectListing getListing() {
45 return listing;
46 }
47
48 public void setListing(ObjectListing listing) {
49 this.listing = listing;
50 }
51
52 public List<String[]> getIndexData() {
53 return indexData;
54 }
55
56 public void setIndexData(List<String[]> indexData) {
57 this.indexData = indexData;
58 }
59
60 public String getWelcomeFileKey() {
61 return welcomeFileKey;
62 }
63
64 public void setWelcomeFileKey(String welcomeFileKey) {
65 this.welcomeFileKey = welcomeFileKey;
66 }
67
68 public String getIndexHtml() {
69 return indexHtml;
70 }
71
72 public void setIndexHtml(String indexHtml) {
73 this.indexHtml = indexHtml;
74 }
75
76 }