X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=cms%2Forg.argeo.slc.repo%2Fsrc%2Forg%2Feclipse%2Faether%2FAbstractRepositoryListener.java;fp=cms%2Forg.argeo.slc.repo%2Fsrc%2Forg%2Feclipse%2Faether%2FAbstractRepositoryListener.java;h=eaaffc1980c9f32d9ec9ed719553be498b8d430b;hb=ecc22e604e47533c79de9cecdcdeacbc752cbff1;hp=0000000000000000000000000000000000000000;hpb=e07ded4632e53f8b8869763bc1f1f4091361e76e;p=gpl%2Fargeo-slc.git diff --git a/cms/org.argeo.slc.repo/src/org/eclipse/aether/AbstractRepositoryListener.java b/cms/org.argeo.slc.repo/src/org/eclipse/aether/AbstractRepositoryListener.java new file mode 100644 index 000000000..eaaffc198 --- /dev/null +++ b/cms/org.argeo.slc.repo/src/org/eclipse/aether/AbstractRepositoryListener.java @@ -0,0 +1,103 @@ +/******************************************************************************* + * Copyright (c) 2010, 2013 Sonatype, Inc. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Sonatype, Inc. - initial API and implementation + *******************************************************************************/ +package org.eclipse.aether; + +/** + * A skeleton implementation for custom repository listeners. The callback methods in this class do nothing. + */ +public abstract class AbstractRepositoryListener + implements RepositoryListener +{ + + /** + * Enables subclassing. + */ + protected AbstractRepositoryListener() + { + } + + public void artifactDeployed( RepositoryEvent event ) + { + } + + public void artifactDeploying( RepositoryEvent event ) + { + } + + public void artifactDescriptorInvalid( RepositoryEvent event ) + { + } + + public void artifactDescriptorMissing( RepositoryEvent event ) + { + } + + public void artifactDownloaded( RepositoryEvent event ) + { + } + + public void artifactDownloading( RepositoryEvent event ) + { + } + + public void artifactInstalled( RepositoryEvent event ) + { + } + + public void artifactInstalling( RepositoryEvent event ) + { + } + + public void artifactResolved( RepositoryEvent event ) + { + } + + public void artifactResolving( RepositoryEvent event ) + { + } + + public void metadataDeployed( RepositoryEvent event ) + { + } + + public void metadataDeploying( RepositoryEvent event ) + { + } + + public void metadataDownloaded( RepositoryEvent event ) + { + } + + public void metadataDownloading( RepositoryEvent event ) + { + } + + public void metadataInstalled( RepositoryEvent event ) + { + } + + public void metadataInstalling( RepositoryEvent event ) + { + } + + public void metadataInvalid( RepositoryEvent event ) + { + } + + public void metadataResolved( RepositoryEvent event ) + { + } + + public void metadataResolving( RepositoryEvent event ) + { + } + +}