ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector ModifiedSelector.java
Date Fri, 07 Jan 2005 15:16:54 GMT
peterreilly    2005/01/07 07:16:54

  Modified:    src/main/org/apache/tools/ant/types/selectors/modifiedselector
                        ModifiedSelector.java
  Log:
  javadoc
  
  Revision  Changes    Path
  1.15      +48 -6     ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java
  
  Index: ModifiedSelector.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ModifiedSelector.java	22 Nov 2004 16:44:16 -0000	1.14
  +++ ModifiedSelector.java	7 Jan 2005 15:16:54 -0000	1.15
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2003-2004 The Apache Software Foundation
  + * Copyright  2003-2005 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.
  @@ -866,7 +866,7 @@
   
       /**
        * Signals that a target is starting.
  -     * @param event recieved BuildEvent
  +     * @param event received BuildEvent
       */
       public void targetStarted(BuildEvent event) {
           // no-op
  @@ -896,36 +896,78 @@
       // Name-Classname mapping is done in the configure() method.
   
   
  +    /**
  +     * Get the cache type to use.
  +     * @return the enumerated cache type
  +     */
       public Cache getCache() { return cache; }
  +
  +    /**
  +     * Set the cache type to use.
  +     * @param name an enumerated cache type.
  +     */
       public void setCache(CacheName name) {
           cacheName = name;
       }
  +
  +    /**
  +     * The enumerated type for cache.
  +     * The values are "propertyfile".
  +     */
       public static class CacheName extends EnumeratedAttribute {
  +        /** @see EnumeratedAttribute#getValues() */
           public String[] getValues() {
               return new String[] {"propertyfile" };
           }
       }
   
  -
  +    /**
  +     * Get the algorithm type to use.
  +     * @return the enumerated algorithm type
  +     */
       public Algorithm getAlgorithm() { return algorithm; }
  +
  +    /**
  +     * Set the algorithm type to use.
  +     * @param name an enumerated algorithm type.
  +     */
       public void setAlgorithm(AlgorithmName name) {
           algoName = name;
       }
  +
  +    /**
  +     * The enumerated type for algorithm.
  +     * The values are "hashValue", "digest" and "checksum".
  +     */
       public static class AlgorithmName extends EnumeratedAttribute {
  +        /** @see EnumeratedAttribute#getValues() */
           public String[] getValues() {
               return new String[] {"hashvalue", "digest", "checksum" };
           }
       }
   
  -
  +    /**
  +     * Get the comparator type to use.
  +     * @return the enumerated comparator type
  +     */
       public Comparator getComparator() { return comparator; }
  +
  +    /**
  +     * Set the comparator type to use.
  +     * @param name an enumerated comparator type.
  +     */
       public void setComparator(ComparatorName name) {
           compName = name;
       }
  +
  +    /**
  +     * The enumerated type for algorithm.
  +     * The values are "equal" and "rule".
  +     */
       public static class ComparatorName extends EnumeratedAttribute {
  +        /** @see EnumeratedAttribute#getValues() */
           public String[] getValues() {
               return new String[] {"equal", "rule" };
           }
       }
  -//class-ModifiedSelector
  -}
  \ No newline at end of file
  +}
  
  
  

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


Mime
View raw message