Package org.springframework.core
Enum Class NativeDetector.Context
- All Implemented Interfaces:
- Serializable,- Comparable<NativeDetector.Context>,- Constable
- Enclosing class:
- NativeDetector
Native image context as defined in GraalVM's
 ImageInfo.
- Since:
- 6.0.10
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptiontoString()static NativeDetector.ContextReturns the enum constant of this class with the specified name.static NativeDetector.Context[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
BUILDThe code is executing in the context of image building.
- 
RUNThe code is executing at image runtime.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
toString- Overrides:
- toStringin class- Enum<NativeDetector.Context>
 
 
-