public class DefaultCorrelationManager<T> extends Object implements CorrelationManager<T>
Constructor and Description |
---|
DefaultCorrelationManager() |
Modifier and Type | Method and Description |
---|---|
T |
find(String correlationKey,
long timeout)
Finds stored object by its correlation key.
|
String |
getCorrelationKey(String correlationKeyName,
TestContext context)
Gets correlation key for given identifier.
|
ObjectStore<T> |
getObjectStore()
Gets the object store implementation.
|
void |
saveCorrelationKey(String correlationKeyName,
String correlationKey,
TestContext context)
Creates new correlation key in test context by saving as test variable.
|
void |
setObjectStore(ObjectStore<T> store)
Sets the object store implementation
|
void |
store(String correlationKey,
T object)
Store object to correlation storage using the given correlation key.
|
public void saveCorrelationKey(String correlationKeyName, String correlationKey, TestContext context)
CorrelationManager
saveCorrelationKey
in interface CorrelationManager<T>
public String getCorrelationKey(String correlationKeyName, TestContext context)
CorrelationManager
getCorrelationKey
in interface CorrelationManager<T>
public void store(String correlationKey, T object)
CorrelationManager
store
in interface CorrelationManager<T>
public T find(String correlationKey, long timeout)
CorrelationManager
find
in interface CorrelationManager<T>
public void setObjectStore(ObjectStore<T> store)
CorrelationManager
setObjectStore
in interface CorrelationManager<T>
public ObjectStore<T> getObjectStore()
CorrelationManager
getObjectStore
in interface CorrelationManager<T>
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.