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