All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.maven.scm.CommandParameter Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package org.apache.maven.scm;

/*
 * 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.
 */

/**
 * @author Trygve Laugstøl
 * @version $Id: CommandParameter.java 524909 2007-04-02 20:02:44Z evenisse $
 */
public class CommandParameter
{
    public final static CommandParameter BINARY = new CommandParameter( "binary" );

    public final static CommandParameter RECURSIVE = new CommandParameter( "recursive" );

    public final static CommandParameter MESSAGE = new CommandParameter( "message" );

    public final static CommandParameter BRANCH_NAME = new CommandParameter( "branchName" );

    public final static CommandParameter START_DATE = new CommandParameter( "startDate" );

    public final static CommandParameter END_DATE = new CommandParameter( "endDate" );

    public final static CommandParameter NUM_DAYS = new CommandParameter( "numDays" );

    public final static CommandParameter BRANCH = new CommandParameter( "branch" );

    public final static CommandParameter START_SCM_VERSION = new CommandParameter( "startScmVersion" );

    public final static CommandParameter END_SCM_VERSION = new CommandParameter( "endScmVersion" );

    public final static CommandParameter CHANGELOG_DATE_PATTERN = new CommandParameter( "changelogDatePattern" );

    public final static CommandParameter SCM_VERSION = new CommandParameter( "scmVersion" );

    public final static CommandParameter TAG_NAME = new CommandParameter( "tagName" );

    public final static CommandParameter FILE = new CommandParameter( "file" );

    public final static CommandParameter FILES = new CommandParameter( "files" );

    public final static CommandParameter OUTPUT_FILE = new CommandParameter( "outputFile" );

    public final static CommandParameter OUTPUT_DIRECTORY = new CommandParameter( "outputDirectory" );

    public final static CommandParameter RUN_CHANGELOG_WITH_UPDATE =
        new CommandParameter( "run_changelog_with_update" );

    /**
     * Parameter name
     */
    private String name;

    /**
     * @param name The parameter name
     */
    private CommandParameter( String name )
    {
        this.name = name;
    }

    /**
     * @return The parameter name
     */
    public String getName()
    {
        return name;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy