rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/Result.java
@Override
  public void setValue(T value) {
    _lock.writeLock().lock();
    try {
      _valueMap.put(Thread.currentThread().getId(), value);
    } finally {
      _lock.writeLock().unlock();
    }
  }
@Override
  public void setValue(T value) {
    _lock.writeLock().lock();
    try {
      _valueMap.put(Thread.currentThread().getId(), value);
    } finally {
      _lock.writeLock().unlock();
    }
  }
The method setValue() sets the object to be contained in the Result object.

@param value the object to be stored in the Result object