View Javadoc
1   package org.eclipse.aether;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   * 
12   *  http://www.apache.org/licenses/LICENSE-2.0
13   * 
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  /**
23   * A skeleton implementation for custom repository listeners. The callback methods in this class do nothing.
24   */
25  public abstract class AbstractRepositoryListener
26      implements RepositoryListener
27  {
28  
29      /**
30       * Enables subclassing.
31       */
32      protected AbstractRepositoryListener()
33      {
34      }
35  
36      public void artifactDeployed( RepositoryEvent event )
37      {
38      }
39  
40      public void artifactDeploying( RepositoryEvent event )
41      {
42      }
43  
44      public void artifactDescriptorInvalid( RepositoryEvent event )
45      {
46      }
47  
48      public void artifactDescriptorMissing( RepositoryEvent event )
49      {
50      }
51  
52      public void artifactDownloaded( RepositoryEvent event )
53      {
54      }
55  
56      public void artifactDownloading( RepositoryEvent event )
57      {
58      }
59  
60      public void artifactInstalled( RepositoryEvent event )
61      {
62      }
63  
64      public void artifactInstalling( RepositoryEvent event )
65      {
66      }
67  
68      public void artifactResolved( RepositoryEvent event )
69      {
70      }
71  
72      public void artifactResolving( RepositoryEvent event )
73      {
74      }
75  
76      public void metadataDeployed( RepositoryEvent event )
77      {
78      }
79  
80      public void metadataDeploying( RepositoryEvent event )
81      {
82      }
83  
84      public void metadataDownloaded( RepositoryEvent event )
85      {
86      }
87  
88      public void metadataDownloading( RepositoryEvent event )
89      {
90      }
91  
92      public void metadataInstalled( RepositoryEvent event )
93      {
94      }
95  
96      public void metadataInstalling( RepositoryEvent event )
97      {
98      }
99  
100     public void metadataInvalid( RepositoryEvent event )
101     {
102     }
103 
104     public void metadataResolved( RepositoryEvent event )
105     {
106     }
107 
108     public void metadataResolving( RepositoryEvent event )
109     {
110     }
111 
112 }