Class EnumResponse<T extends GGEnum>

    • Constructor Detail

      • EnumResponse

        public EnumResponse​(@Nonnull
                            EntityType type)
      • EnumResponse

        public EnumResponse​(@Nonnull
                            EntityType type,
                            @Nonnull
                            T value)
                     throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException - if response is null
    • Method Detail

      • getValue

        @Nonnull
        public T getValue()
                   throws java.lang.IllegalStateException
        Throws:
        java.lang.IllegalStateException - if this is not provided