org.sonatype.aether.util.listener
Class DefaultRepositoryEvent
java.lang.Object
org.sonatype.aether.util.listener.DefaultRepositoryEvent
- All Implemented Interfaces:
- RepositoryEvent
public class DefaultRepositoryEvent
- extends java.lang.Object
- implements RepositoryEvent
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRepositoryEvent
public DefaultRepositoryEvent(RepositorySystemSession session,
Artifact artifact)
DefaultRepositoryEvent
public DefaultRepositoryEvent(RepositorySystemSession session,
Metadata metadata)
getSession
public RepositorySystemSession getSession()
- Specified by:
getSession
in interface RepositoryEvent
getArtifact
public Artifact getArtifact()
- Specified by:
getArtifact
in interface RepositoryEvent
getMetadata
public Metadata getMetadata()
- Specified by:
getMetadata
in interface RepositoryEvent
getRepository
public ArtifactRepository getRepository()
- Specified by:
getRepository
in interface RepositoryEvent
setRepository
public DefaultRepositoryEvent setRepository(ArtifactRepository repository)
getFile
public java.io.File getFile()
- Specified by:
getFile
in interface RepositoryEvent
setFile
public DefaultRepositoryEvent setFile(java.io.File file)
getException
public java.lang.Exception getException()
- Specified by:
getException
in interface RepositoryEvent
setException
public DefaultRepositoryEvent setException(java.lang.Exception exception)
getExceptions
public java.util.List<java.lang.Exception> getExceptions()
- Specified by:
getExceptions
in interface RepositoryEvent
setExceptions
public DefaultRepositoryEvent setExceptions(java.util.List<java.lang.Exception> exceptions)
Copyright © 2010 Sonatype, Inc.. All Rights Reserved.