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 java.util.Properties; 22 23 import org.apache.maven.shared.release.env.ReleaseEnvironment; 24 25 /** 26 * <p>ReleasePrepareRequest class.</p> 27 * 28 * @author Robert Scholte 29 * @since 2.3 30 */ 31 public class ReleasePrepareRequest extends AbstractReleaseRequest { 32 // using Boolean to detect if has been set explicitly 33 private Boolean dryRun; 34 35 // using Boolean to detect if has been set explicitly 36 private Boolean resume; 37 38 private ReleaseEnvironment releaseEnvironment; 39 40 private Properties userProperties; 41 42 /** 43 * <p>Getter for the field <code>dryRun</code>.</p> 44 * 45 * @return the dryRun 46 */ 47 public Boolean getDryRun() { 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 this.dryRun = dryRun; 58 } 59 60 /** 61 * <p>Getter for the field <code>resume</code>.</p> 62 * 63 * @return the resume 64 */ 65 public Boolean getResume() { 66 return resume; 67 } 68 69 /** 70 * <p>Setter for the field <code>resume</code>.</p> 71 * 72 * @param resume the resume to set 73 */ 74 public void setResume(Boolean resume) { 75 this.resume = resume; 76 } 77 78 /** 79 * <p>Getter for the field <code>releaseEnvironment</code>.</p> 80 * 81 * @return the releaseEnvironment 82 */ 83 public ReleaseEnvironment getReleaseEnvironment() { 84 return releaseEnvironment; 85 } 86 87 /** 88 * <p>Setter for the field <code>releaseEnvironment</code>.</p> 89 * 90 * @param releaseEnvironment the releaseEnvironment to set 91 */ 92 public void setReleaseEnvironment(ReleaseEnvironment releaseEnvironment) { 93 this.releaseEnvironment = releaseEnvironment; 94 } 95 96 /** 97 * <p>Getter for the field <code>userProperties</code>.</p> 98 * 99 * @return a {@link java.util.Properties} object 100 */ 101 public Properties getUserProperties() { 102 return userProperties; 103 } 104 105 /** 106 * <p>Setter for the field <code>userProperties</code>.</p> 107 * 108 * @param userProperties a {@link java.util.Properties} object 109 */ 110 public void setUserProperties(Properties userProperties) { 111 this.userProperties = userProperties; 112 } 113 }