1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19 package org.apache.maven.shared.release;
20
21 import org.apache.maven.shared.release.env.ReleaseEnvironment;
22
23 /**
24 * <p>ReleasePerformRequest class.</p>
25 *
26 * @author Robert Scholte
27 * @since 2.3
28 */
29 public class ReleasePerformRequest extends AbstractReleaseRequest {
30 // using Boolean to detect if has been set explicitly
31 private Boolean dryRun;
32
33 // using Boolean to detect if has been set explicitly
34 private Boolean clean;
35
36 private ReleaseEnvironment releaseEnvironment;
37
38 /**
39 * <p>Getter for the field <code>dryRun</code>.</p>
40 *
41 * @return the dryRun
42 */
43 public Boolean getDryRun() {
44 return dryRun;
45 }
46
47 /**
48 * <p>Setter for the field <code>dryRun</code>.</p>
49 *
50 * @param dryRun the dryRun to set
51 */
52 public void setDryRun(Boolean dryRun) {
53 this.dryRun = dryRun;
54 }
55
56 /**
57 * <p>Getter for the field <code>clean</code>.</p>
58 *
59 * @return the clean
60 */
61 public Boolean getClean() {
62 return clean;
63 }
64
65 /**
66 * <p>Setter for the field <code>clean</code>.</p>
67 *
68 * @param clean the clean to set
69 */
70 public void setClean(Boolean clean) {
71 this.clean = clean;
72 }
73
74 /**
75 * <p>Getter for the field <code>releaseEnvironment</code>.</p>
76 *
77 * @return the releaseEnvironment
78 */
79 public ReleaseEnvironment getReleaseEnvironment() {
80 return releaseEnvironment;
81 }
82
83 /**
84 * <p>Setter for the field <code>releaseEnvironment</code>.</p>
85 *
86 * @param releaseEnvironment the releaseEnvironment to set
87 */
88 public void setReleaseEnvironment(ReleaseEnvironment releaseEnvironment) {
89 this.releaseEnvironment = releaseEnvironment;
90 }
91 }