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/proposal/myrmidon/src/java/org/apache/myrmidon/libs/runtime TypeDef.java
Date Fri, 08 Jun 2001 09:07:29 GMT
donaldp     01/06/08 02:07:29

  Added:       proposal/myrmidon/src/java/org/apache/myrmidon/libs/runtime
                        TypeDef.java
  Log:
  Concrete task to define types - where user specifies type of defionition (ie task/data-type,
aspect, listener etc).
  
  Revision  Changes    Path
  1.1                  jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/libs/runtime/TypeDef.java
  
  Index: TypeDef.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 file.
   */
  package org.apache.myrmidon.libs.runtime;
  
  import org.apache.myrmidon.api.Task;
  import org.apache.myrmidon.framework.AbstractTypeDef;
  
  /**
   * Task to define a type.
   *
   * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
   */
  public class TypeDef
      extends AbstractTypeDef
  {
      private String     m_type;
  
      public void setType( final String type )
      {
          m_type = type;
      }
  
      protected String getTypeName()
      {
          return m_type;
      }
  }
  
  
  

Mime
View raw message