View Javadoc

1   /**
2    * Copyright 2004-2012 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.maven.mojo.s3;
17  
18  import com.amazonaws.services.s3.model.ObjectListing;
19  
20  public class S3PrefixContext {
21      boolean isRoot;
22      String defaultObjectKey;
23      ObjectListing objectListing;
24      String prefix;
25      String html;
26      S3BucketContext bucketContext;
27      String browseHtmlKey;
28  
29      public boolean isRoot() {
30          return isRoot;
31      }
32  
33      public void setRoot(final boolean isRoot) {
34          this.isRoot = isRoot;
35      }
36  
37      public String getDefaultObjectKey() {
38          return defaultObjectKey;
39      }
40  
41      public void setDefaultObjectKey(final String defaultObjectKey) {
42          this.defaultObjectKey = defaultObjectKey;
43      }
44  
45      public ObjectListing getObjectListing() {
46          return objectListing;
47      }
48  
49      public void setObjectListing(final ObjectListing objectListing) {
50          this.objectListing = objectListing;
51      }
52  
53      public String getPrefix() {
54          return prefix;
55      }
56  
57      public void setPrefix(final String prefix) {
58          this.prefix = prefix;
59      }
60  
61      public String getHtml() {
62          return html;
63      }
64  
65      public void setHtml(final String html) {
66          this.html = html;
67      }
68  
69      public S3BucketContext getBucketContext() {
70          return bucketContext;
71      }
72  
73      public void setBucketContext(final S3BucketContext context) {
74          this.bucketContext = context;
75      }
76  
77      public String getBrowseHtmlKey() {
78          return browseHtmlKey;
79      }
80  
81      public void setBrowseHtmlKey(final String browseHtmlKey) {
82          this.browseHtmlKey = browseHtmlKey;
83      }
84  }