Interface EnvironmentProvider

All Known Implementing Classes:
BaseEnvironmentProvider, BeamEnvironment, ClassLoaderEnvironment, ContextualEnvironment, DecoratingEnvironmentProvider, DirectRunnerEnvironment, FlinkRunnerEnvironment, SparkRunnerEnvironment

public interface EnvironmentProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    start(Class<?> clazz, Annotation[] annotations)
    Starts the environment represented by this implementation.
  • Method Details

    • start

      AutoCloseable start(Class<?> clazz, Annotation[] annotations)
      Starts the environment represented by this implementation.
      Parameters:
      clazz - the test class.
      annotations - the current annotations which can own environment configuration.
      Returns:
      a closeable to release current environment.