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