View Javadoc
1   /**
2    * Copyright 2004-2014 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.common.aws.s3.old;
17  
18  import java.util.List;
19  
20  import org.kuali.common.util.inform.PercentCompleteInformer;
21  
22  public class ListingRequest {
23  
24  	// IllegalStateException is thrown if either of these is exceeded
25  	int maxListings = BucketConstants.DEFAULT_MAX_LISTINGS;
26  	int timeoutMillis = BucketConstants.DEFAULT_LISTINGS_TIMEOUT_MILLIS;
27  
28  	String prefix;
29  	List<String> includes;
30  	List<String> excludes;
31  	boolean recursive;
32  	PercentCompleteInformer informer;
33  
34  	public String getPrefix() {
35  		return prefix;
36  	}
37  
38  	public void setPrefix(String prefix) {
39  		this.prefix = prefix;
40  	}
41  
42  	public List<String> getIncludes() {
43  		return includes;
44  	}
45  
46  	public void setIncludes(List<String> includes) {
47  		this.includes = includes;
48  	}
49  
50  	public List<String> getExcludes() {
51  		return excludes;
52  	}
53  
54  	public void setExcludes(List<String> excludes) {
55  		this.excludes = excludes;
56  	}
57  
58  	public boolean isRecursive() {
59  		return recursive;
60  	}
61  
62  	public void setRecursive(boolean recursive) {
63  		this.recursive = recursive;
64  	}
65  
66  	public PercentCompleteInformer getInformer() {
67  		return informer;
68  	}
69  
70  	public void setInformer(PercentCompleteInformer informer) {
71  		this.informer = informer;
72  	}
73  
74  	public int getMaxListings() {
75  		return maxListings;
76  	}
77  
78  	public void setMaxListings(int maxListings) {
79  		this.maxListings = maxListings;
80  	}
81  
82  	public int getTimeoutMillis() {
83  		return timeoutMillis;
84  	}
85  
86  	public void setTimeoutMillis(int timeoutMillis) {
87  		this.timeoutMillis = timeoutMillis;
88  	}
89  
90  }