View Javadoc
1   /*******************************************************************************
2    * Copyright (c) 2010, 2013 Sonatype, Inc.
3    * All rights reserved. This program and the accompanying materials
4    * are made available under the terms of the Eclipse Public License v1.0
5    * which accompanies this distribution, and is available at
6    * http://www.eclipse.org/legal/epl-v10.html
7    *
8    * Contributors:
9    *    Sonatype, Inc. - initial API and implementation
10   *******************************************************************************/
11  package org.eclipse.aether;
12  
13  /**
14   * A skeleton implementation for custom repository listeners. The callback methods in this class do nothing.
15   */
16  public abstract class AbstractRepositoryListener
17      implements RepositoryListener
18  {
19  
20      /**
21       * Enables subclassing.
22       */
23      protected AbstractRepositoryListener()
24      {
25      }
26  
27      public void artifactDeployed( RepositoryEvent event )
28      {
29      }
30  
31      public void artifactDeploying( RepositoryEvent event )
32      {
33      }
34  
35      public void artifactDescriptorInvalid( RepositoryEvent event )
36      {
37      }
38  
39      public void artifactDescriptorMissing( RepositoryEvent event )
40      {
41      }
42  
43      public void artifactDownloaded( RepositoryEvent event )
44      {
45      }
46  
47      public void artifactDownloading( RepositoryEvent event )
48      {
49      }
50  
51      public void artifactInstalled( RepositoryEvent event )
52      {
53      }
54  
55      public void artifactInstalling( RepositoryEvent event )
56      {
57      }
58  
59      public void artifactResolved( RepositoryEvent event )
60      {
61      }
62  
63      public void artifactResolving( RepositoryEvent event )
64      {
65      }
66  
67      public void metadataDeployed( RepositoryEvent event )
68      {
69      }
70  
71      public void metadataDeploying( RepositoryEvent event )
72      {
73      }
74  
75      public void metadataDownloaded( RepositoryEvent event )
76      {
77      }
78  
79      public void metadataDownloading( RepositoryEvent event )
80      {
81      }
82  
83      public void metadataInstalled( RepositoryEvent event )
84      {
85      }
86  
87      public void metadataInstalling( RepositoryEvent event )
88      {
89      }
90  
91      public void metadataInvalid( RepositoryEvent event )
92      {
93      }
94  
95      public void metadataResolved( RepositoryEvent event )
96      {
97      }
98  
99      public void metadataResolving( RepositoryEvent event )
100     {
101     }
102 
103 }