Interface RepositoryListener

    • Method Detail

      • artifactDescriptorInvalid

        void artifactDescriptorInvalid​(RepositoryEvent event)
        Notifies the listener of a syntactically or semantically invalid artifact descriptor. RepositoryEvent.getArtifact() indicates the artifact whose descriptor is invalid and RepositoryEvent.getExceptions() carries the encountered errors. Depending on the session's ArtifactDescriptorPolicy, the underlying repository operation might abort with an exception or ignore the invalid descriptor.
        Parameters:
        event - The event details, must not be null.
      • artifactDescriptorMissing

        void artifactDescriptorMissing​(RepositoryEvent event)
        Notifies the listener of a missing artifact descriptor. RepositoryEvent.getArtifact() indicates the artifact whose descriptor is missing. Depending on the session's ArtifactDescriptorPolicy, the underlying repository operation might abort with an exception or ignore the missing descriptor.
        Parameters:
        event - The event details, must not be null.
      • metadataInvalid

        void metadataInvalid​(RepositoryEvent event)
        Notifies the listener of syntactically or semantically invalid metadata. RepositoryEvent.getMetadata() indicates the invalid metadata and RepositoryEvent.getExceptions() carries the encountered errors. The underlying repository operation might still succeed, depending on whether the metadata in question is actually needed to carry out the resolution process.
        Parameters:
        event - The event details, must not be null.
      • artifactInstalling

        void artifactInstalling​(RepositoryEvent event)
        Notifies the listener of an artifact that is about to be installed to the local repository. RepositoryEvent.getArtifact() denotes the artifact in question.
        Parameters:
        event - The event details, must not be null.
      • artifactInstalled

        void artifactInstalled​(RepositoryEvent event)
        Notifies the listener of an artifact whose installation to the local repository has been completed, either successfully or not. RepositoryEvent.getArtifact() denotes the artifact in question and RepositoryEvent.getExceptions() indicates whether the installation succeeded or failed.
        Parameters:
        event - The event details, must not be null.
      • metadataInstalling

        void metadataInstalling​(RepositoryEvent event)
        Notifies the listener of some metadata that is about to be installed to the local repository. RepositoryEvent.getMetadata() denotes the metadata in question.
        Parameters:
        event - The event details, must not be null.
      • metadataInstalled

        void metadataInstalled​(RepositoryEvent event)
        Notifies the listener of some metadata whose installation to the local repository has been completed, either successfully or not. RepositoryEvent.getMetadata() denotes the metadata in question and RepositoryEvent.getExceptions() indicates whether the installation succeeded or failed.
        Parameters:
        event - The event details, must not be null.
      • artifactDeployed

        void artifactDeployed​(RepositoryEvent event)
        Notifies the listener of an artifact whose upload to a remote repository has been completed, either successfully or not. RepositoryEvent.getArtifact() denotes the artifact in question and RepositoryEvent.getExceptions() indicates whether the upload succeeded or failed.
        Parameters:
        event - The event details, must not be null.
      • metadataDeployed

        void metadataDeployed​(RepositoryEvent event)
        Notifies the listener of some metadata whose upload to a remote repository has been completed, either successfully or not. RepositoryEvent.getMetadata() denotes the metadata in question and RepositoryEvent.getExceptions() indicates whether the upload succeeded or failed.
        Parameters:
        event - The event details, must not be null.