Class DecoratingEnvironmentProvider
- java.lang.Object
-
- org.talend.sdk.component.junit.environment.DecoratingEnvironmentProvider
-
- All Implemented Interfaces:
EnvironmentProvider
public class DecoratingEnvironmentProvider extends Object implements EnvironmentProvider
-
-
Constructor Summary
Constructors Constructor Description DecoratingEnvironmentProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
boolean
isActive()
AutoCloseable
start(Class<?> clazz, Annotation[] annotations)
Starts the environment represented by this implementation.
-
-
-
Constructor Detail
-
DecoratingEnvironmentProvider
public DecoratingEnvironmentProvider()
-
-
Method Detail
-
start
public AutoCloseable start(Class<?> clazz, Annotation[] annotations)
Description copied from interface:EnvironmentProvider
Starts the environment represented by this implementation.- Specified by:
start
in interfaceEnvironmentProvider
- Parameters:
clazz
- the test class.annotations
- the current annotations which can own environment configuration.- Returns:
- a closeable to release current environment.
-
isActive
public boolean isActive()
-
-