org.sonatype.aether.impl
Interface LocalRepositoryMaintainer

All Known Implementing Classes:
AbstractLocalRepositoryMaintainer

Deprecated. As of version 1.9, use a global RepositoryListener instead.

@Deprecated
public interface LocalRepositoryMaintainer

Performs housekeeping tasks in response to updates to the local repository. This provides an extension point to integrators to perform things like updating indexes. Note: Implementors are strongly advised to inherit from AbstractLocalRepositoryMaintainer instead of directly implementing this interface.

Author:
Benjamin Bentmann

Method Summary
 void artifactDownloaded(LocalRepositoryEvent event)
          Deprecated. Notifies the maintainer of the addition of an artifact to the local repository by download from a remote repository.
 void artifactInstalled(LocalRepositoryEvent event)
          Deprecated. Notifies the maintainer of the addition of an artifact to the local repository by a local build.
 

Method Detail

artifactInstalled

void artifactInstalled(LocalRepositoryEvent event)
Deprecated. 
Notifies the maintainer of the addition of an artifact to the local repository by a local build.

Parameters:
event - The event that holds details about the artifact, must not be null.

artifactDownloaded

void artifactDownloaded(LocalRepositoryEvent event)
Deprecated. 
Notifies the maintainer of the addition of an artifact to the local repository by download from a remote repository.

Parameters:
event - The event that holds details about the artifact, must not be null.


Copyright © 2010-2012. All Rights Reserved.