blob: 4d6803671bc90bc4aee97559703702966152a493 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.maven.shared.release;
import java.util.Properties;
import org.apache.maven.shared.release.env.ReleaseEnvironment;
/**
* <p>ReleasePrepareRequest class.</p>
*
* @author Robert Scholte
* @since 2.3
*/
public class ReleasePrepareRequest extends AbstractReleaseRequest {
// using Boolean to detect if has been set explicitly
private Boolean dryRun;
// using Boolean to detect if has been set explicitly
private Boolean resume;
private ReleaseEnvironment releaseEnvironment;
private Properties userProperties;
/**
* <p>Getter for the field <code>dryRun</code>.</p>
*
* @return the dryRun
*/
public Boolean getDryRun() {
return dryRun;
}
/**
* <p>Setter for the field <code>dryRun</code>.</p>
*
* @param dryRun the dryRun to set
*/
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
}
/**
* <p>Getter for the field <code>resume</code>.</p>
*
* @return the resume
*/
public Boolean getResume() {
return resume;
}
/**
* <p>Setter for the field <code>resume</code>.</p>
*
* @param resume the resume to set
*/
public void setResume(Boolean resume) {
this.resume = resume;
}
/**
* <p>Getter for the field <code>releaseEnvironment</code>.</p>
*
* @return the releaseEnvironment
*/
public ReleaseEnvironment getReleaseEnvironment() {
return releaseEnvironment;
}
/**
* <p>Setter for the field <code>releaseEnvironment</code>.</p>
*
* @param releaseEnvironment the releaseEnvironment to set
*/
public void setReleaseEnvironment(ReleaseEnvironment releaseEnvironment) {
this.releaseEnvironment = releaseEnvironment;
}
/**
* <p>Getter for the field <code>userProperties</code>.</p>
*
* @return a {@link java.util.Properties} object
*/
public Properties getUserProperties() {
return userProperties;
}
/**
* <p>Setter for the field <code>userProperties</code>.</p>
*
* @param userProperties a {@link java.util.Properties} object
*/
public void setUserProperties(Properties userProperties) {
this.userProperties = userProperties;
}
}