Class ExtensionValuesStore

java.lang.Object
org.junit.jupiter.engine.execution.ExtensionValuesStore

@API(status=INTERNAL,
     since="5.0")
public class ExtensionValuesStore
extends java.lang.Object
ExtensionValuesStore is used inside implementations of ExtensionContext to store and retrieve values.
Since:
5.0
  • Constructor Summary

    Constructors
    Constructor Description
    ExtensionValuesStore​(ExtensionValuesStore parentStore)  
  • Method Summary

    Modifier and Type Method Description
    void closeAllStoredCloseableValues()
    Close all values that implement ExtensionContext.Store.CloseableResource.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • closeAllStoredCloseableValues

      public void closeAllStoredCloseableValues()
      Close all values that implement ExtensionContext.Store.CloseableResource.
      Implementation Note:
      Only close values stored in this instance. This implementation does not close values in parent stores.