1 package org.apache.maven.shared.transfer.project.deploy;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.project.MavenProject;
23
24
25
26
27
28 public class ProjectDeployerRequest
29 {
30
31 private int retryFailedDeploymentCount;
32
33
34
35 private MavenProject project;
36
37 private String altDeploymentRepository;
38
39 private String altSnapshotDeploymentRepository;
40
41 private String altReleaseDeploymentRepository;
42
43
44
45
46 public int getRetryFailedDeploymentCount()
47 {
48 return retryFailedDeploymentCount;
49 }
50
51
52
53
54
55 public ProjectDeployerRequest setRetryFailedDeploymentCount( int theRetryFailedDeploymentCountToBeSet )
56 {
57 this.retryFailedDeploymentCount = theRetryFailedDeploymentCountToBeSet;
58 return this;
59 }
60
61
62
63
64 public MavenProject getProject()
65 {
66 return project;
67 }
68
69
70
71
72
73 public ProjectDeployerRequest setProject( MavenProject theProjectToBeSet )
74 {
75 this.project = theProjectToBeSet;
76 return this;
77 }
78
79
80
81
82 public String getAltDeploymentRepository()
83 {
84 return altDeploymentRepository;
85 }
86
87
88
89
90
91 public ProjectDeployerRequest setAltDeploymentRepository( String theAltDeploymentRepositoryToBeSet )
92 {
93 this.altDeploymentRepository = theAltDeploymentRepositoryToBeSet;
94 return this;
95 }
96
97
98
99
100 public String getAltSnapshotDeploymentRepository()
101 {
102 return altSnapshotDeploymentRepository;
103 }
104
105
106
107
108
109 public ProjectDeployerRequest setAltSnapshotDeploymentRepository( String theAltSnapshotDeploymentRepositoryToBeSet )
110 {
111 this.altSnapshotDeploymentRepository = theAltSnapshotDeploymentRepositoryToBeSet;
112 return this;
113 }
114
115
116
117
118 public String getAltReleaseDeploymentRepository()
119 {
120 return altReleaseDeploymentRepository;
121 }
122
123
124
125
126
127 public ProjectDeployerRequest setAltReleaseDeploymentRepository( String theAltReleaseDeploymentRepositoryToBeSet )
128 {
129 this.altReleaseDeploymentRepository = theAltReleaseDeploymentRepositoryToBeSet;
130 return this;
131 }
132 }