public final class RepositoryClientEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RepositoryClientEvent.EventType
Event types describing the repository client
|
Constructor and Description |
---|
RepositoryClientEvent(RepositoryClientEvent.EventType eventType,
KClient source) |
Modifier and Type | Method and Description |
---|---|
static RepositoryClientEvent |
createClearEvent(KClient source) |
static RepositoryClientEvent |
createShuttingDownEvent(KClient source) |
static RepositoryClientEvent |
createStartedEvent(KClient source) |
KClient |
getSource() |
RepositoryClientEvent.EventType |
getType() |
public RepositoryClientEvent(RepositoryClientEvent.EventType eventType, KClient source)
eventType
- type of this eventsource
- the source of this eventpublic RepositoryClientEvent.EventType getType()
public KClient getSource()
public static RepositoryClientEvent createStartedEvent(KClient source)
source
- the source of the new eventpublic static RepositoryClientEvent createShuttingDownEvent(KClient source)
source
- the source of the new eventnull
)public static RepositoryClientEvent createClearEvent(KClient source)
source
- the source of the new eventnull
)Copyright © 2013–2019. All rights reserved.