org.apache.maven.shared.release.ReleasePerformRequest Maven / Gradle / Ivy
The newest version!
/*
* 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 org.apache.maven.shared.release.env.ReleaseEnvironment;
/**
* ReleasePerformRequest class.
*
* @author Robert Scholte
* @since 2.3
*/
public class ReleasePerformRequest 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 clean;
private ReleaseEnvironment releaseEnvironment;
/**
* Getter for the field dryRun
.
*
* @return the dryRun
*/
public Boolean getDryRun() {
return dryRun;
}
/**
* Setter for the field dryRun
.
*
* @param dryRun the dryRun to set
*/
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
}
/**
* Getter for the field clean
.
*
* @return the clean
*/
public Boolean getClean() {
return clean;
}
/**
* Setter for the field clean
.
*
* @param clean the clean to set
*/
public void setClean(Boolean clean) {
this.clean = clean;
}
/**
* Getter for the field releaseEnvironment
.
*
* @return the releaseEnvironment
*/
public ReleaseEnvironment getReleaseEnvironment() {
return releaseEnvironment;
}
/**
* Setter for the field releaseEnvironment
.
*
* @param releaseEnvironment the releaseEnvironment to set
*/
public void setReleaseEnvironment(ReleaseEnvironment releaseEnvironment) {
this.releaseEnvironment = releaseEnvironment;
}
}