Enum Class RepositoryMethodInvocationListener.RepositoryMethodInvocationResult.State
java.lang.Object
java.lang.Enum<RepositoryMethodInvocationListener.RepositoryMethodInvocationResult.State>
org.springframework.data.repository.core.support.RepositoryMethodInvocationListener.RepositoryMethodInvocationResult.State
- All Implemented Interfaces:
Serializable
,Comparable<RepositoryMethodInvocationListener.RepositoryMethodInvocationResult.State>
,Constable
- Enclosing interface:
- RepositoryMethodInvocationListener.RepositoryMethodInvocationResult
public static enum RepositoryMethodInvocationListener.RepositoryMethodInvocationResult.State
extends Enum<RepositoryMethodInvocationListener.RepositoryMethodInvocationResult.State>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
public static final RepositoryMethodInvocationListener.RepositoryMethodInvocationResult.State SUCCESS -
ERROR
-
CANCELED
public static final RepositoryMethodInvocationListener.RepositoryMethodInvocationResult.State CANCELED -
RUNNING
public static final RepositoryMethodInvocationListener.RepositoryMethodInvocationResult.State RUNNING
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static RepositoryMethodInvocationListener.RepositoryMethodInvocationResult.State valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-