org.sonatype.aether.impl
Interface LocalRepositoryMaintainer


public interface LocalRepositoryMaintainer

Performs housekeeping tasks in response to updates to the local repository. This provides an extension point to integrators to performs things like updating indexes.

Author:
Benjamin Bentmann

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

Method Detail

artifactInstalled

void artifactInstalled(LocalRepositoryEvent event)
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)
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 Sonatype, Inc.. All Rights Reserved.