io.tracee
Class SimpleTraceeBackend
java.lang.Object
io.tracee.SimpleTraceeBackend
- All Implemented Interfaces:
- TraceeBackend
public class SimpleTraceeBackend
- extends Object
- implements TraceeBackend
A testhelper for TraceeBackend dependent tests.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleTraceeBackend
public SimpleTraceeBackend(TraceeFilterConfiguration configuration,
TraceeLoggerFactory loggerFactory)
createNonLoggingAllPermittingBackend
public static SimpleTraceeBackend createNonLoggingAllPermittingBackend()
getConfiguration
public TraceeFilterConfiguration getConfiguration(String profileName)
-
This implementation ignores profiles and always uses the default configuration.
- Specified by:
getConfiguration in interface TraceeBackend
getConfiguration
public TraceeFilterConfiguration getConfiguration()
- Specified by:
getConfiguration in interface TraceeBackend
getLoggerFactory
public TraceeLoggerFactory getLoggerFactory()
- Specified by:
getLoggerFactory in interface TraceeBackend
containsKey
public boolean containsKey(String key)
- Specified by:
containsKey in interface TraceeBackend
get
public String get(String key)
- Specified by:
get in interface TraceeBackend
size
public int size()
- Specified by:
size in interface TraceeBackend
clear
public void clear()
- Specified by:
clear in interface TraceeBackend
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface TraceeBackend
put
public void put(String key,
String value)
- Specified by:
put in interface TraceeBackend
putAll
public void putAll(Map<? extends String,? extends String> m)
- Specified by:
putAll in interface TraceeBackend
copyToMap
public Map<String,String> copyToMap()
- Specified by:
copyToMap in interface TraceeBackend
remove
public void remove(String key)
- Specified by:
remove in interface TraceeBackend
getInvocationId
public String getInvocationId()
- Specified by:
getInvocationId in interface TraceeBackend
getSessionId
public String getSessionId()
- Specified by:
getSessionId in interface TraceeBackend
getValuesBeforeLastClear
public Map<String,String> getValuesBeforeLastClear()
Copyright © 2013-2015 Holisticon AG. All Rights Reserved.