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