| Modifier and Type | Class and Description |
|---|---|
| public static enum | NativeDetector.
Native image context as defined in GraalVM's ImageInfo. |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | inNativeImage()
Returns |
| public static boolean | inNativeImage(NativeDetector.
the native image context(s) contextsReturns |
| imageCode | back to summary |
|---|---|
| private static final String imageCode
| |
| inNativeImage | back to summary |
|---|---|
| private static final boolean inNativeImage | |
| NativeDetector | back to summary |
|---|---|
| public NativeDetector() | |
| inNativeImage | back to summary |
|---|---|
| public static boolean inNativeImage() Returns | |
| inNativeImage | back to summary |
|---|---|
| public static boolean inNativeImage(NativeDetector. Returns
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final NativeDetector. | BUILD
The code is executing in the context of image building. |
| private final String | |
| public static final NativeDetector. | RUN
The code is executing at image runtime. |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static NativeDetector. | |
| public static NativeDetector. |
| BUILD | back to summary |
|---|---|
| public static final NativeDetector. The code is executing in the context of image building. | |
| key | back to summary |
|---|---|
| private final String key | |
| RUN | back to summary |
|---|---|
| public static final NativeDetector. The code is executing at image runtime. | |
| Context | back to summary |
|---|---|
| private Context(final String key) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| valueOf | back to summary |
|---|---|
| public static NativeDetector. | |
| values | back to summary |
|---|---|
| public static NativeDetector. | |