Package | Description |
---|---|
org.apache.archiva.event | |
org.apache.archiva.repository.base | |
org.apache.archiva.repository.event | |
org.apache.archiva.repository.features | |
org.apache.archiva.repository.maven2 |
Modifier and Type | Interface and Description |
---|---|
interface |
EventHandler<T extends Event>
A listener that accepts events.
|
class |
EventType<T extends Event>
Event types define a hierarchical structure of events.
|
Modifier and Type | Field and Description |
---|---|
static EventType<Event> |
Event.ANY |
static EventType<Event> |
EventType.ROOT |
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
EventSource.registerEventHandler(EventType<T> type,
EventHandler<? super T> eventHandler) |
<T extends Event> |
EventManager.registerEventHandler(EventType<T> type,
EventHandler<? super T> eventHandler) |
<T extends Event> |
EventSource.unregisterEventHandler(EventType<T> type,
EventHandler<? super T> eventHandler) |
<T extends Event> |
EventManager.unregisterEventHandler(EventType<T> type,
EventHandler<? super T> eventHandler) |
Modifier and Type | Method and Description |
---|---|
Event |
Event.copyFor(Object newSource)
Recreates the event with the given instance as the new source.
|
Event |
Event.getPreviousEvent()
Returns the previous event or
null , if this is a root event. |
Modifier and Type | Method and Description |
---|---|
EventType<? extends Event> |
Event.getType()
Returns the event type that is associated with this event instance.
|
Modifier and Type | Method and Description |
---|---|
void |
EventManager.fireEvent(Event fireEvent) |
Constructor and Description |
---|
Event(EventType<? extends Event> type,
Object originator) |
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
AbstractRepository.registerEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler) |
<T extends Event> |
ArchivaRepositoryRegistry.registerEventHandler(EventType<T> type,
EventHandler<? super T> eventHandler) |
<T extends Event> |
AbstractRepository.unregisterEventHandler(EventType<T> type,
EventHandler<? super T> eventHandler) |
<T extends Event> |
ArchivaRepositoryRegistry.unregisterEventHandler(EventType<T> type,
EventHandler<? super T> eventHandler) |
Modifier and Type | Method and Description |
---|---|
void |
ArchivaRepositoryRegistry.handle(Event event) |
Modifier and Type | Class and Description |
---|---|
class |
LifecycleEvent
Raises events about the repository lifecycle.
|
class |
RepositoryEvent
A repository event is specific to a repository and holds a reference to the repository that
is related to this event.
|
class |
RepositoryIndexEvent
These events are thrown, when index information has changed.
|
class |
RepositoryRegistryEvent
Repository registry events are raised by the repository registry itself.
|
class |
RepositoryValueEvent<V>
Repository value events are used for providing information about repository attribute changes.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractFeature.pushEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
void |
MavenRepositoryProvider.handle(Event event) |
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.