public enum JohnsonEventType extends Enum<JohnsonEventType>
johnson-config.xml
.
TestJohnsonEventType
ensures that this enum remains in sync with the XML.Enum Constant and Description |
---|
ATTACHMENT_MIGRATION |
BOOTSTRAP |
CLUSTER |
CLUSTER_MIGRATION |
DATABASE |
EXPORT |
IMPORT |
LICENSE_INCONSISTENCY |
LICENSE_TOO_OLD |
REINDEX |
RESTART |
SETUP |
STARTUP |
UPGRADE |
Modifier and Type | Method and Description |
---|---|
com.atlassian.johnson.event.EventType |
eventType()
Returns the Johnson-typed event type for this enum value.
|
String |
typeName()
Returns the name of the event type for this enum value.
|
static JohnsonEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JohnsonEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static JohnsonEventType |
withName(String eventName)
Returns the enum value with the given event name.
|
public static final JohnsonEventType ATTACHMENT_MIGRATION
public static final JohnsonEventType BOOTSTRAP
public static final JohnsonEventType CLUSTER
public static final JohnsonEventType CLUSTER_MIGRATION
public static final JohnsonEventType DATABASE
public static final JohnsonEventType EXPORT
public static final JohnsonEventType IMPORT
public static final JohnsonEventType LICENSE_INCONSISTENCY
public static final JohnsonEventType LICENSE_TOO_OLD
public static final JohnsonEventType REINDEX
public static final JohnsonEventType RESTART
public static final JohnsonEventType SETUP
public static final JohnsonEventType STARTUP
public static final JohnsonEventType UPGRADE
public static JohnsonEventType[] values()
for (JohnsonEventType c : JohnsonEventType.values()) System.out.println(c);
public static JohnsonEventType 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 nullpublic static JohnsonEventType withName(String eventName)
eventName
- the name to match upon (case-insensitively)IllegalArgumentException
- if the name is unknown@Nonnull public String typeName()
@Nonnull public com.atlassian.johnson.event.EventType eventType()
Copyright © 2003–2017 Atlassian. All rights reserved.