@ExperimentalApi public static enum OnCommitEvent.OnCommitEventDataReloadStatus extends Enum<OnCommitEvent.OnCommitEventDataReloadStatus>
OnCommitEvent
whether the data contained in event was reloaded after commit
or not.Enum Constant and Description |
---|
NOT_RELOADED_ON_COMMIT
The publisher has not reloaded any data after the commit.
|
RELOADED_ON_COMMIT
The publisher explicitly ensures that they have reloaded the relevant data after commit, and put it into
this event.
|
UNSPECIFIED
The publisher has not explicitly said whether they reloaded any data or not.
|
Modifier and Type | Method and Description |
---|---|
static OnCommitEvent.OnCommitEventDataReloadStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnCommitEvent.OnCommitEventDataReloadStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnCommitEvent.OnCommitEventDataReloadStatus RELOADED_ON_COMMIT
public static final OnCommitEvent.OnCommitEventDataReloadStatus NOT_RELOADED_ON_COMMIT
OnCommitEvent.OnCommitEventTransactionStatus
it may not be necessary to reload, if the event was submitted immediately, as no transaction was in scopepublic static final OnCommitEvent.OnCommitEventDataReloadStatus UNSPECIFIED
OnCommitEvent.OnCommitEventTransactionStatus
then may indicate that not necessary to reload data if not in a
transaction. But the actual status is unknown.public static OnCommitEvent.OnCommitEventDataReloadStatus[] values()
for (OnCommitEvent.OnCommitEventDataReloadStatus c : OnCommitEvent.OnCommitEventDataReloadStatus.values()) System.out.println(c);
public static OnCommitEvent.OnCommitEventDataReloadStatus 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 © 2002-2021 Atlassian. All Rights Reserved.