ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/extension Compatability.java
Date Wed, 17 Apr 2002 10:41:34 GMT
donaldp     02/04/17 03:41:34

  Added:       src/main/org/apache/tools/ant/taskdefs/optional/extension
                        Compatability.java
  Log:
  
  
  Revision  Changes    Path
  1.1                  jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/extension/Compatability.java
  
  Index: Compatability.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included  with this distribution in
   * the LICENSE.txt file.
   */
  package org.apache.tools.ant.taskdefs.optional.extension;
  
  /**
   * Enum used in (@link Extension) to indicate the compatability
   * of one extension to another. See (@link Extension) for instances
   * of object.
   *
   * @author <a href="mailto:peter@apache.org">Peter Donald</a>
   * @version $Revision: 1.1 $ $Date: 2002/04/17 10:41:34 $
   * @see Extension
   */
  public final class Compatability
  {
      /**
       * A string representaiton of compatability level.
       */
      private final String m_name;
  
      /**
       * Create a compatability enum with specified name.
       *
       * @param name the name of compatability level
       */
      Compatability( final String name )
      {
          m_name = name;
      }
  
      /**
       * Return name of compatability level.
       *
       * @return the name of compatability level
       */
      public String toString()
      {
          return m_name;
      }
  }
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message