Interface RuntimeTypeInfo

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
RuntimeTypeInfo.BuilderBase.RuntimeTypeInfoImpl

public interface RuntimeTypeInfo extends Prototype.Api
Configuration specific to a factory method to create a runtime type from a prototype with a builder.
See Also:
  • Method Details

    • builder

      static RuntimeTypeInfo.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      static RuntimeTypeInfo.Builder builder(RuntimeTypeInfo instance)
      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • factoryMethod

      Optional<FactoryMethod> factoryMethod()
      Factory method. If not defined, we expect the builder to build the correct type.
      Returns:
      the factory method if present
    • optionBuilder

      OptionBuilder optionBuilder()
      Builder information associated with this factory method.
      Returns:
      builder information