Class ValueHolder<T>

java.lang.Object
com.lucidworks.apollo.util.ValueHolder<T>
All Implemented Interfaces:
AutoCloseable

public abstract class ValueHolder<T> extends Object implements AutoCloseable
  • Field Details

    • value

      protected T value
    • error

      protected com.lucidworks.cloud.error.FusionException error
  • Constructor Details

    • ValueHolder

      public ValueHolder()
  • Method Details

    • init

      public ValueHolder<T> init()
    • create

      protected abstract T create()
    • getValue

      public T getValue()
    • getError

      public com.lucidworks.cloud.error.FusionException getError()
    • throwErrorIfAny

      public void throwErrorIfAny()