Class AllCallbackWrapper<C extends CustomExtension>

java.lang.Object
org.apache.flink.core.testutils.AllCallbackWrapper<C>
All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.Extension

public class AllCallbackWrapper<C extends CustomExtension> extends Object implements org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallback
An extension wrap logic for BeforeAllCallback and AfterAllCallback.
  • Constructor Details

    • AllCallbackWrapper

      public AllCallbackWrapper(C customExtension)
  • Method Details

    • getCustomExtension

      public C getCustomExtension()
    • afterAll

      public void afterAll(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
      Specified by:
      afterAll in interface org.junit.jupiter.api.extension.AfterAllCallback
      Throws:
      Exception
    • beforeAll

      public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
      Specified by:
      beforeAll in interface org.junit.jupiter.api.extension.BeforeAllCallback
      Throws:
      Exception