public interface CorrelationManager<T>
| 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.
|
void saveCorrelationKey(String correlationKeyName, String correlationKey, TestContext context)
correlationKeyName - correlationKey - context - String getCorrelationKey(String correlationKeyName, TestContext context)
correlationKeyName - context - void store(String correlationKey, T object)
correlationKey - object - T find(String correlationKey, long timeout)
correlationKey - timeout - void setObjectStore(ObjectStore<T> store)
store - ObjectStore<T> getObjectStore()
Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.