View Javadoc

1   /*
2    * Copyright (C) The MetaClass Group. All rights reserved.
3    *
4    * This software is published under the terms of the Spice
5    * Software License version 1.1, a copy of which has been included
6    * with this distribution in the LICENSE.txt file.
7    */
8   package org.codehaus.metaclass.tools.compiler;
9   
10  import java.io.File;
11  import java.util.Collection;
12  import org.codehaus.metaclass.model.ClassDescriptor;
13  
14  /***
15   * The default no-op implementation of compiler monitor.
16   *
17   * @author Peter Donald
18   * @version $Revision: 1.5 $ $Date: 2003/11/27 08:09:53 $
19   */
20  public class DefaultCompilerMonitor
21      implements CompilerMonitor
22  {
23      /***
24       * @see CompilerMonitor#errorWritingDescriptor
25       */
26      public void errorWritingDescriptor( final ClassDescriptor descriptor,
27                                          final Exception e )
28      {
29      }
30  
31      /***
32       * @see CompilerMonitor#missingSourceFile
33       */
34      public void missingSourceFile( final File file )
35      {
36      }
37  
38      /***
39       * @see CompilerMonitor#javaClassObjectsLoaded
40       */
41      public void javaClassObjectsLoaded( final Collection classes )
42      {
43      }
44  
45      /***
46       * @see CompilerMonitor#postFilterJavaClassList
47       */
48      public void postFilterJavaClassList( final Collection classes )
49      {
50      }
51  
52      /***
53       * @see CompilerMonitor#errorGeneratingDescriptor
54       */
55      public void errorGeneratingDescriptor( final String classname,
56                                             final Throwable t )
57      {
58      }
59  
60      /***
61       * @see CompilerMonitor#postBuildDescriptorsList
62       */
63      public void postBuildDescriptorsList( final Collection descriptors )
64      {
65      }
66  
67      /***
68       * @see CompilerMonitor#postCompactDescriptorsList
69       */
70      public void postCompactDescriptorsList( final Collection descriptors )
71      {
72      }
73  }