public static enum RepositoryClientEvent.EventType extends Enum<RepositoryClientEvent.EventType>
Enum Constant and Description |
---|
CLEAR
Sent in order to clear the repository of all user-created objects
|
SHUTTING_DOWN
Sent just prior to an
RepositoryClient shutting down |
STARTED
Sent when an
RepositoryClient has just started |
Modifier and Type | Method and Description |
---|---|
static RepositoryClientEvent.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryClientEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryClientEvent.EventType STARTED
RepositoryClient
has just startedpublic static final RepositoryClientEvent.EventType SHUTTING_DOWN
RepositoryClient
shutting downpublic static final RepositoryClientEvent.EventType CLEAR
public static RepositoryClientEvent.EventType[] values()
for (RepositoryClientEvent.EventType c : RepositoryClientEvent.EventType.values()) System.out.println(c);
public static RepositoryClientEvent.EventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013–2019. All rights reserved.