Skip to content

Commit 46fca01

Browse files
zakkakgsmet
authored andcommitted
Add documentation to NativeImageResourceBuildItem's constructors
(cherry picked from commit 757537b)
1 parent d02685b commit 46fca01

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

core/deployment/src/main/java/io/quarkus/deployment/builditem/nativeimage/NativeImageResourceBuildItem.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
import io.quarkus.builder.item.MultiBuildItem;
88

99
/**
10-
* A build item that indicates that a static resource should be included in the native image
10+
* A build item that indicates that a static resource should be included in the native image.
11+
* <p>
12+
* A static resource is a file that is not processed by the build steps, but is included in the native image as-is.
13+
* The resource path passed to the constructor is a {@code /}-separated path name (with the same semantics as the parameters
14+
* passed to {@link java.lang.ClassLoader#getResources(String)}.
1115
* <p>
1216
* Related build items:
1317
* <ul>

0 commit comments

Comments
 (0)