/*
 * 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>ReleaseBranchRequest class.</p>
 *
 * @author Robert Scholte
 * @since 2.3
 */
public class ReleaseBranchRequest extends AbstractReleaseRequest {
    // using Boolean to detect if has been set explicitly
    private Boolean dryRun;

    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>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;
    }
}
