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