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-myrmidon/container/src/java/org/apache/myrmidon/interfaces/model TargetMetaData.java
Date Sun, 28 Apr 2002 05:35:53 GMT
donaldp     02/04/27 22:35:53

  Added:       container/src/java/org/apache/myrmidon/interfaces/model
                        TargetMetaData.java
  Log:
  Add in interface for TargetMetaData
  
  Revision  Changes    Path
  1.1                  jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/model/TargetMetaData.java
  
  Index: TargetMetaData.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.myrmidon.interfaces.model;
  
  /**
   * This interface represents meta-data about the
   * targets capable of being executed in a {@link Module}.
   * Each target has a name, description and possibly a
   * set of child Targets.
   *
   * <p>Note that the notion of child targets does not
   * necessarily imply that executing parent Target will
   * execute all child targets. The parent-child relationship
   * is just for organizational purposes and human consumption
   * rather than implying any underlying physical structure.</p>
   *
   *
   * @author <a href="mailto:peter@apache.org">Peter Donald</a>
   * @version $Revision: 1.1 $ $Date: 2002/04/28 05:35:53 $
   */
  public interface TargetMetaData
  {
      /**
       * Retrieve the name of the Target.
       *
       * @return the name of the Target.
       */
      String getName();
  
      /**
       * Retrieve a description of the target.
       *
       * @return a description of the target.
       */
      String getDescription();
  
      /**
       * Return an array of child targets.
       * Must return a non-null value, even when there
       * are no child targets.
       *
       * @return a non-null array of child targets.
       */
      TargetMetaData[] getTargets();
  }
  
  
  

--
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