1 | |
package org.kuali.maven.wagon; |
2 | |
|
3 | |
import java.util.List; |
4 | |
|
5 | |
import com.amazonaws.services.s3.AmazonS3Client; |
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | 0 | public class PutThreadContext { |
11 | |
|
12 | |
int id; |
13 | |
ThreadHandler handler; |
14 | |
List<PutFileContext> contexts; |
15 | |
AmazonS3Client client; |
16 | |
RequestFactory factory; |
17 | |
int length; |
18 | |
int offset; |
19 | |
ProgressTracker tracker; |
20 | |
|
21 | |
public ThreadHandler getHandler() { |
22 | 0 | return handler; |
23 | |
} |
24 | |
|
25 | |
public void setHandler(ThreadHandler handler) { |
26 | 0 | this.handler = handler; |
27 | 0 | } |
28 | |
|
29 | |
public List<PutFileContext> getContexts() { |
30 | 0 | return contexts; |
31 | |
} |
32 | |
|
33 | |
public void setContexts(List<PutFileContext> contexts) { |
34 | 0 | this.contexts = contexts; |
35 | 0 | } |
36 | |
|
37 | |
public AmazonS3Client getClient() { |
38 | 0 | return client; |
39 | |
} |
40 | |
|
41 | |
public void setClient(AmazonS3Client client) { |
42 | 0 | this.client = client; |
43 | 0 | } |
44 | |
|
45 | |
public RequestFactory getFactory() { |
46 | 0 | return factory; |
47 | |
} |
48 | |
|
49 | |
public void setFactory(RequestFactory factory) { |
50 | 0 | this.factory = factory; |
51 | 0 | } |
52 | |
|
53 | |
public int getLength() { |
54 | 0 | return length; |
55 | |
} |
56 | |
|
57 | |
public void setLength(int length) { |
58 | 0 | this.length = length; |
59 | 0 | } |
60 | |
|
61 | |
public int getOffset() { |
62 | 0 | return offset; |
63 | |
} |
64 | |
|
65 | |
public void setOffset(int offset) { |
66 | 0 | this.offset = offset; |
67 | 0 | } |
68 | |
|
69 | |
public int getId() { |
70 | 0 | return id; |
71 | |
} |
72 | |
|
73 | |
public void setId(int id) { |
74 | 0 | this.id = id; |
75 | 0 | } |
76 | |
|
77 | |
public ProgressTracker getTracker() { |
78 | 0 | return tracker; |
79 | |
} |
80 | |
|
81 | |
public void setTracker(ProgressTracker tracker) { |
82 | 0 | this.tracker = tracker; |
83 | 0 | } |
84 | |
} |