Class ConstValueProvider

  • All Implemented Interfaces:
    net.morimekta.providence.descriptor.PValueProvider<java.lang.Object>

    public class ConstValueProvider
    extends java.lang.Object
    implements net.morimekta.providence.descriptor.PValueProvider<java.lang.Object>
    A value provider for thrift constants.
    • Constructor Summary

      Constructors 
      Constructor Description
      ConstValueProvider​(net.morimekta.providence.types.TypeRegistry registry, java.lang.String programName, net.morimekta.providence.types.TypeReference constType, java.util.List<ThriftToken> constTokens)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object get()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConstValueProvider

        public ConstValueProvider​(@Nonnull
                                  net.morimekta.providence.types.TypeRegistry registry,
                                  @Nonnull
                                  java.lang.String programName,
                                  @Nonnull
                                  net.morimekta.providence.types.TypeReference constType,
                                  @Nonnull
                                  java.util.List<ThriftToken> constTokens)
    • Method Detail

      • get

        public java.lang.Object get()
        Specified by:
        get in interface net.morimekta.providence.descriptor.PValueProvider<java.lang.Object>