Class RunTimeConfigurationSourceBuildItem


  • public final class RunTimeConfigurationSourceBuildItem
    extends MultiBuildItem
    Define an additional configuration source which is used at run time.
    • Constructor Detail

      • RunTimeConfigurationSourceBuildItem

        public RunTimeConfigurationSourceBuildItem​(String className,
                                                   OptionalInt priority)
        Construct a new instance.
        Parameters:
        className - the class name (must not be null or empty)
        priority - an optional priority value to pass to the constructor (must not be null)
    • 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)