Package io.camunda.zeebe.test.exporter
Class MockConfiguration<T>
java.lang.Object
io.camunda.zeebe.test.exporter.MockConfiguration<T>
- All Implemented Interfaces:
Configuration
@Deprecated(since="1.3.0",
forRemoval=true)
public class MockConfiguration<T>
extends Object
implements Configuration
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.3.0. See issue 8143 for more information.
A mock implementation of
Configuration providing easy control over all properties.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.MockConfiguration(String id, Map<String, Object> arguments) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.MockConfiguration(T configuration) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.getId()Deprecated, for removal: This API element is subject to removal in a future version.<R> Rinstantiate(Class<R> configClass) Deprecated, for removal: This API element is subject to removal in a future version.voidsetArguments(Map<String, Object> arguments) Deprecated, for removal: This API element is subject to removal in a future version.voidsetConfiguration(T configuration) Deprecated, for removal: This API element is subject to removal in a future version.Sets a fixed return value forinstantiate(Class)voidDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
MockConfiguration
public MockConfiguration()Deprecated, for removal: This API element is subject to removal in a future version. -
MockConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
configuration- will be returned every time by a call to {instantiate(Class)}
-
MockConfiguration
Deprecated, for removal: This API element is subject to removal in a future version. -
MockConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getId
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getIdin interfaceConfiguration
-
setId
Deprecated, for removal: This API element is subject to removal in a future version. -
getArguments
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getArgumentsin interfaceConfiguration
-
setArguments
Deprecated, for removal: This API element is subject to removal in a future version. -
instantiate
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
instantiatein interfaceConfiguration
-
setConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.Sets a fixed return value forinstantiate(Class)- Parameters:
configuration- instance to return forinstantiate(Class)calls
-