ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/sound SoundTask.java
Date Sun, 23 Jun 2002 06:37:03 GMT
stevel      2002/06/22 23:37:03

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/sound Tag:
                        ANT_15_BRANCH SoundTask.java
  Log:
  sound docs
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.1   +10 -4     jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/sound/SoundTask.java
  
  Index: SoundTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/sound/SoundTask.java,v
  retrieving revision 1.7
  retrieving revision 1.7.2.1
  diff -u -r1.7 -r1.7.2.1
  --- SoundTask.java	15 Apr 2002 12:11:49 -0000	1.7
  +++ SoundTask.java	23 Jun 2002 06:37:03 -0000	1.7.2.1
  @@ -87,11 +87,17 @@
       private BuildAlert success = null;
       private BuildAlert fail = null;
   
  +    /**
  +     * add a sound when the build succeeds
  +     */
       public BuildAlert createSuccess() {
           success = new BuildAlert();
           return success;
       }
   
  +    /**
  +     * add a sound when the build fails
  +     */
       public BuildAlert createFail() {
           fail = new BuildAlert();
           return fail;
  @@ -135,14 +141,14 @@
           private Long duration = null;
   
           /**
  -         * Sets the duration in milliseconds the file should be played.
  +         * Sets the duration in milliseconds the file should be played; optional.
            */
           public void setDuration(Long duration) {
               this.duration = duration;
           }
   
           /**
  -         * Sets the location of the file to get the audio.
  +         * Sets the location of the file to get the audio; required.
            *
            * @param source the name of a sound-file directory or of the audio file
            */
  @@ -151,7 +157,7 @@
           }
   
           /**
  -         * Sets the number of times the source file should be played.
  +         * Sets the number of times the source file should be played; optional.
            *
            * @param loops the number of loops to play the source file
            */
  
  
  

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