You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-commits@maven.apache.org by tr...@apache.org on 2004/10/28 21:38:41 UTC

cvs commit: maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/tag TagScmResult.java

trygvis     2004/10/28 12:38:41

  Added:       maven-scm-api/src/main/java/org/apache/maven/scm/command/tag
                        TagScmResult.java
  Log:
  o Adding missing file.
  
  Revision  Changes    Path
  1.1                  maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/tag/TagScmResult.java
  
  Index: TagScmResult.java
  ===================================================================
  package org.apache.maven.scm.command.tag;
  
  /*
   * Copyright 2001-2004 The Apache Software Foundation.
   *
   * Licensed 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.
   */
  
  import java.util.List;
  import java.io.File;
  
  import org.apache.maven.scm.ScmResult;
  
  /**
   * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
   * @version $Id: TagScmResult.java,v 1.1 2004/10/28 19:38:41 trygvis Exp $
   */
  public class TagScmResult
      extends ScmResult
  {
      private List taggedFiles;
  
      public TagScmResult( String providerMessage, String commandOutput, boolean success )
      {
          super( providerMessage, commandOutput, success );
      }
  
      public TagScmResult( List taggedFiles )
      {
          super( null, null, true );
  
          this.taggedFiles = taggedFiles;
      }
  
      public List getTaggedFiles()
      {
          return taggedFiles;
      }
  }