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

    Constructors
    Constructor
    Description
    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(String id, Map<String,Object> arguments, T configuration)
    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 Type
    Method
    Description
    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.
     
    <R> R
    instantiate(Class<R> configClass)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setConfiguration(T configuration)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sets a fixed return value for instantiate(Class)
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

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

    • MockConfiguration

      public MockConfiguration()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MockConfiguration

      public MockConfiguration(T configuration)
      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

      public MockConfiguration(String id, Map<String,Object> arguments)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • MockConfiguration

      public MockConfiguration(String id, Map<String,Object> arguments, T configuration)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getId

      public String getId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getId in interface Configuration
    • setId

      public void setId(String id)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getArguments

      public Map<String,Object> getArguments()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getArguments in interface Configuration
    • setArguments

      public void setArguments(Map<String,Object> arguments)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • instantiate

      public <R> R instantiate(Class<R> configClass)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      instantiate in interface Configuration
    • setConfiguration

      public void setConfiguration(T configuration)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets a fixed return value for instantiate(Class)
      Parameters:
      configuration - instance to return for instantiate(Class) calls