|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryEvent
An event describing an action performed by the repository system. Note that events which indicate the end of an
action like RepositoryEvent.EventType.ARTIFACT_RESOLVED are generally fired in both the success and the failure case. Use
getException() to check whether an event denotes success or failure.
RepositoryListener| Nested Class Summary | |
|---|---|
static class |
RepositoryEvent.EventType
The type of the event. |
| Method Summary | |
|---|---|
Artifact |
getArtifact()
Gets the artifact involved in the event (if any). |
Exception |
getException()
Gets the exception that caused the event (if any). |
List<Exception> |
getExceptions()
Gets the exceptions that caused the event (if any). |
File |
getFile()
Gets the file involved in the event (if any). |
Metadata |
getMetadata()
Gets the metadata involved in the event (if any). |
ArtifactRepository |
getRepository()
Gets the repository involved in the event (if any). |
RepositorySystemSession |
getSession()
Gets the repository system session during which the event occurred. |
RequestTrace |
getTrace()
Gets the trace information about the request during which the event occurred. |
RepositoryEvent.EventType |
getType()
Gets the type of the event. |
| Method Detail |
|---|
RepositoryEvent.EventType getType()
null.RepositorySystemSession getSession()
null.Artifact getArtifact()
null if none.Metadata getMetadata()
null if none.File getFile()
null if none.ArtifactRepository getRepository()
null if none.Exception getException()
null if none.List<Exception> getExceptions()
null.RequestTrace getTrace()
null if none.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||