001/* 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, 013 * software distributed under the License is distributed on an 014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 * KIND, either express or implied. See the License for the 016 * specific language governing permissions and limitations 017 * under the License. 018 */ 019package org.eclipse.aether; 020 021/** 022 * A skeleton implementation for custom repository listeners. The callback methods in this class do nothing. 023 */ 024public abstract class AbstractRepositoryListener implements RepositoryListener { 025 026 /** 027 * Enables subclassing. 028 */ 029 protected AbstractRepositoryListener() {} 030 031 public void artifactDeployed(RepositoryEvent event) {} 032 033 public void artifactDeploying(RepositoryEvent event) {} 034 035 public void artifactDescriptorInvalid(RepositoryEvent event) {} 036 037 public void artifactDescriptorMissing(RepositoryEvent event) {} 038 039 public void artifactDownloaded(RepositoryEvent event) {} 040 041 public void artifactDownloading(RepositoryEvent event) {} 042 043 public void artifactInstalled(RepositoryEvent event) {} 044 045 public void artifactInstalling(RepositoryEvent event) {} 046 047 public void artifactResolved(RepositoryEvent event) {} 048 049 public void artifactResolving(RepositoryEvent event) {} 050 051 public void metadataDeployed(RepositoryEvent event) {} 052 053 public void metadataDeploying(RepositoryEvent event) {} 054 055 public void metadataDownloaded(RepositoryEvent event) {} 056 057 public void metadataDownloading(RepositoryEvent event) {} 058 059 public void metadataInstalled(RepositoryEvent event) {} 060 061 public void metadataInstalling(RepositoryEvent event) {} 062 063 public void metadataInvalid(RepositoryEvent event) {} 064 065 public void metadataResolved(RepositoryEvent event) {} 066 067 public void metadataResolving(RepositoryEvent event) {} 068}