Coverage Report - org.apache.maven.scm.CommandParameter
 
Classes in this File Line Coverage Branch Coverage Complexity
CommandParameter
0 %
0/28
N/A
1
 
 1  
 package org.apache.maven.scm;
 2  
 
 3  
 import java.io.Serializable;
 4  
 
 5  
 /*
 6  
  * Licensed to the Apache Software Foundation (ASF) under one
 7  
  * or more contributor license agreements.  See the NOTICE file
 8  
  * distributed with this work for additional information
 9  
  * regarding copyright ownership.  The ASF licenses this file
 10  
  * to you under the Apache License, Version 2.0 (the
 11  
  * "License"); you may not use this file except in compliance
 12  
  * with the License.  You may obtain a copy of the License at
 13  
  *
 14  
  * http://www.apache.org/licenses/LICENSE-2.0
 15  
  *
 16  
  * Unless required by applicable law or agreed to in writing,
 17  
  * software distributed under the License is distributed on an
 18  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 19  
  * KIND, either express or implied.  See the License for the
 20  
  * specific language governing permissions and limitations
 21  
  * under the License.
 22  
  */
 23  
 
 24  
 /**
 25  
  * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
 26  
  * @version $Id: CommandParameter.java 1306403 2012-03-28 15:13:37Z olamy $
 27  
  */
 28  
 public class CommandParameter
 29  
     implements Serializable
 30  
 {
 31  
     private static final long serialVersionUID = -3391190831054016735L;
 32  
 
 33  0
     public static final CommandParameter BINARY = new CommandParameter( "binary" );
 34  
 
 35  0
     public static final CommandParameter RECURSIVE = new CommandParameter( "recursive" );
 36  
 
 37  0
     public static final CommandParameter MESSAGE = new CommandParameter( "message" );
 38  
 
 39  0
     public static final CommandParameter BRANCH_NAME = new CommandParameter( "branchName" );
 40  
 
 41  0
     public static final CommandParameter START_DATE = new CommandParameter( "startDate" );
 42  
 
 43  0
     public static final CommandParameter END_DATE = new CommandParameter( "endDate" );
 44  
 
 45  0
     public static final CommandParameter NUM_DAYS = new CommandParameter( "numDays" );
 46  
 
 47  0
     public static final CommandParameter BRANCH = new CommandParameter( "branch" );
 48  
 
 49  0
     public static final CommandParameter START_SCM_VERSION = new CommandParameter( "startScmVersion" );
 50  
 
 51  0
     public static final CommandParameter END_SCM_VERSION = new CommandParameter( "endScmVersion" );
 52  
 
 53  0
     public static final CommandParameter CHANGELOG_DATE_PATTERN = new CommandParameter( "changelogDatePattern" );
 54  
 
 55  0
     public static final CommandParameter SCM_VERSION = new CommandParameter( "scmVersion" );
 56  
 
 57  0
     public static final CommandParameter TAG_NAME = new CommandParameter( "tagName" );
 58  
 
 59  0
     public static final CommandParameter FILE = new CommandParameter( "file" );
 60  
 
 61  0
     public static final CommandParameter FILES = new CommandParameter( "files" );
 62  
 
 63  0
     public static final CommandParameter OUTPUT_FILE = new CommandParameter( "outputFile" );
 64  
 
 65  0
     public static final CommandParameter OUTPUT_DIRECTORY = new CommandParameter( "outputDirectory" );
 66  
 
 67  0
     public static final CommandParameter RUN_CHANGELOG_WITH_UPDATE =
 68  
         new CommandParameter( "run_changelog_with_update" );
 69  
 
 70  0
     public static final CommandParameter SCM_TAG_PARAMETERS = new CommandParameter( "ScmTagParameters" );
 71  
 
 72  0
     public static final CommandParameter SCM_BRANCH_PARAMETERS = new CommandParameter( "ScmBranchParameters" );
 73  
 
 74  0
     public static final CommandParameter SCM_MKDIR_CREATE_IN_LOCAL = new CommandParameter( "createInLocal" );
 75  
 
 76  
     /**
 77  
      * Parameter used only for Git SCM and simulate the <code>git rev-parse --short=lenght</code> command.
 78  
      *
 79  
      * @since 1.7
 80  
      */
 81  0
     public static final CommandParameter SCM_SHORT_REVISION_LENGTH = new CommandParameter( "shortRevisionLength" );
 82  
 
 83  
     /**
 84  
      * Parameter to force add
 85  
      *
 86  
      * @since 1.7
 87  
      */
 88  0
     public static final CommandParameter FORCE_ADD = new CommandParameter( "forceAdd" );
 89  
 
 90  
 
 91  
     /**
 92  
      * Parameter name
 93  
      */
 94  
     private String name;
 95  
 
 96  
     /**
 97  
      * @param name The parameter name
 98  
      */
 99  
     private CommandParameter( String name )
 100  0
     {
 101  0
         this.name = name;
 102  0
     }
 103  
 
 104  
     /**
 105  
      * @return The parameter name
 106  
      */
 107  
     public String getName()
 108  
     {
 109  0
         return name;
 110  
     }
 111  
 
 112  
     public String toString()
 113  
     {
 114  0
         return name;
 115  
     }
 116  
 }