Class ProvidenceConfigSupplier<Message extends net.morimekta.providence.PMessage<Message,Field>,Field extends net.morimekta.providence.descriptor.PField>

  • All Implemented Interfaces:
    java.util.function.Supplier<Message>, ConfigSupplier<Message,Field>

    public class ProvidenceConfigSupplier<Message extends net.morimekta.providence.PMessage<Message,Field>,Field extends net.morimekta.providence.descriptor.PField>
    extends UpdatingConfigSupplier<Message,Field>
    A supplier to get a config (aka message) from a providence config. This is essentially the initiator for the config. It will always have a config message instance, and will log (error) if it later fails to load an updated config.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getName

        public java.lang.String getName()
        Description copied from interface: ConfigSupplier
        Get a simple descriptive name for this config supplier.
        Returns:
        The supplier name.