Package io.quarkus.deployment.builditem
Class RunTimeConfigurationSourceBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.deployment.builditem.RunTimeConfigurationSourceBuildItem
-
public final class RunTimeConfigurationSourceBuildItem extends MultiBuildItem
Define an additional configuration source which is used at run time.
-
-
Constructor Summary
Constructors Constructor Description RunTimeConfigurationSourceBuildItem(String className, OptionalInt priority)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassName()
Get the class name.OptionalInt
getPriority()
Get the priority.
-
-
-
Constructor Detail
-
RunTimeConfigurationSourceBuildItem
public RunTimeConfigurationSourceBuildItem(String className, OptionalInt priority)
Construct a new instance.- Parameters:
className
- the class name (must not benull
or empty)priority
- an optional priority value to pass to the constructor (must not benull
)
-
-
Method Detail
-
getClassName
public String getClassName()
Get the class name.- Returns:
- the class name (not
null
or empty)
-
getPriority
public OptionalInt getPriority()
Get the priority. If present, the priority value will be passed into the constructor of the configuration source class; if absent, a no-arg constructor will be used.- Returns:
- the priority (not
null
)
-
-