A C D E G H I L M N O P R S T V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractTestContext - Class in org.hansken.plugin.extraction.test.serialize
-
ClientDataContextimplementation which is used by the test framework. - AbstractTestContext(Path) - Constructor for class org.hansken.plugin.extraction.test.serialize.AbstractTestContext
- addCustomConversion(Class<T>, Function<? super T, String>) - Method in class nl.minvenj.nfi.flits.serialize.TraceToJson
-
Add a custom conversion for elements of a given type.
- addCustomOrder(Predicate<? super Trace>, Comparator<? super String>) - Method in class nl.minvenj.nfi.flits.serialize.TraceToJson
-
Add a custom order for the properties of a
trace. - addTracelet(Trace.Tracelet) - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
- addType(String) - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
- assertServerIsRunning() - Method in class org.hansken.plugin.extraction.test.RemoteExtractionPluginFlits
C
- close() - Method in class org.hansken.plugin.extraction.test.serialize.RandomAccessFileData
- Constants - Class in org.hansken.plugin.extraction.test.util
-
Set of constants to be used and shared in the test framework implementation classes.
- contextFromRandomAccessData(Path) - Static method in class org.hansken.plugin.extraction.test.serialize.Deserialize
-
Create a context from a
RandomAccessFileData. - create() - Static method in class nl.minvenj.nfi.flits.serialize.TraceToJson
-
Create a new instance.
- createDataStreamPath(Path, String, String) - Static method in class org.hansken.plugin.extraction.test.base.ProcessingUtil
-
Create a
Pathwhich points to the data stream file of the expected trace and type.
D
- data() - Method in class org.hansken.plugin.extraction.test.serialize.MetaTestContext
- data() - Method in class org.hansken.plugin.extraction.test.serialize.TestContext
- data(String, String) - Method in class org.hansken.plugin.extraction.test.serialize.AbstractTestContext
- DATA_STREAM_NAME_PREFIX - Static variable in class org.hansken.plugin.extraction.test.util.Constants
-
Prefix for properties which are used to store data streams, in order to be able to retrieve data streams from a
FLITS API trace. - dataStream(Trace, String) - Static method in class org.hansken.plugin.extraction.test.base.ProcessingUtil
-
Extract a
data streamsof given type from given trace. - dataType() - Method in class org.hansken.plugin.extraction.test.serialize.MetaTestContext
- dataType() - Method in class org.hansken.plugin.extraction.test.serialize.TestContext
- dataTypes(Trace) - Static method in class org.hansken.plugin.extraction.test.base.ProcessingUtil
-
Extract all data types of the
data streamsof given trace. - DEFAULT_VERBOSE_LOGGING_ENABLED - Static variable in class org.hansken.plugin.extraction.test.util.Constants
-
Warning: the default value should always be
false. - DefaultExtractionPluginProcessor - Class in org.hansken.plugin.extraction.test.base
-
Base implementation of an
ExtractionPluginProcessor, which simply delegates theExtractionPluginProcessor.process(ClientTrace, ClientDataContext)call to the givenExtractionPlugin. - DefaultPluginResultGenerator - Class in org.hansken.plugin.extraction.test.base
-
Extension to the
DefaultPluginResultGeneratorwhich also writes each data stream of aTraceto a separate file (seeTrace.setData(String, DataWriter)). - DefaultPluginResultGenerator(TraceToJson) - Constructor for class org.hansken.plugin.extraction.test.base.DefaultPluginResultGenerator
- DefaultPluginResultValidator - Class in org.hansken.plugin.extraction.test.base
-
Extension to the
DefaultResultValidatorwhich also validates each data stream of aTraceby comparing to each expected file containing a data stream of that type (seeDefaultPluginResultGeneratorandTrace.setData(String, DataWriter). - DefaultPluginResultValidator(TraceToJson) - Constructor for class org.hansken.plugin.extraction.test.base.DefaultPluginResultValidator
- Deserialize - Class in org.hansken.plugin.extraction.test.serialize
-
Utility methods for deserializing the input of an
ExtractionPlugin, for use in the Flits test framework.
E
- embedded(DeferredExtractionPlugin, boolean) - Static method in class org.hansken.plugin.extraction.test.base.DefaultExtractionPluginProcessor
-
DefaultExtractionPluginProcessorfor embedded deferred extraction plugins. - embedded(ExtractionPlugin, boolean) - Static method in class org.hansken.plugin.extraction.test.base.DefaultExtractionPluginProcessor
-
DefaultExtractionPluginProcessorfor embedded extraction plugins. - EmbeddedDeferredExtractionPluginFlits - Class in org.hansken.plugin.extraction.test
-
Base implementation of the
Flitsframework, for use with embeddeddeferred extraction plugins. - EmbeddedDeferredExtractionPluginFlits() - Constructor for class org.hansken.plugin.extraction.test.EmbeddedDeferredExtractionPluginFlits
- EmbeddedExtractionPluginFlits - Class in org.hansken.plugin.extraction.test
-
Base implementation of the
Flitsframework, for use with embeddedextraction plugins. - EmbeddedExtractionPluginFlits() - Constructor for class org.hansken.plugin.extraction.test.EmbeddedExtractionPluginFlits
- exclude(BiPredicate<String, Object>) - Method in class nl.minvenj.nfi.flits.serialize.TraceToJson
-
Add a filter for excluding properties in the serialized
traceoutput, based on the name or the value of the property. - extractDataType(Path) - Static method in class org.hansken.plugin.extraction.test.serialize.Deserialize
- extractFileExtension(Path) - Static method in class org.hansken.plugin.extraction.test.base.ProcessingUtil
-
Return extension of file at provided path.
- extractFileName(Path) - Static method in class org.hansken.plugin.extraction.test.base.ProcessingUtil
-
Return filename without extension from a given path.
- ExtractionPluginFlits - Class in org.hansken.plugin.extraction.test
-
Base class for Extraction Plugin tests using the
Flitsframework. - ExtractionPluginFlits() - Constructor for class org.hansken.plugin.extraction.test.ExtractionPluginFlits
- ExtractionPluginProcessor - Interface in org.hansken.plugin.extraction.test
G
- generate(TraceResult, Path) - Method in class org.hansken.plugin.extraction.test.base.DefaultPluginResultGenerator
- generator() - Method in interface org.hansken.plugin.extraction.test.ExtractionPluginProcessor
- get(String) - Method in class org.hansken.plugin.extraction.test.serialize.TestSearchTrace
- get(String) - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
- getData(String) - Method in class org.hansken.plugin.extraction.test.serialize.TestSearchTrace
- getDataTypes() - Method in class org.hansken.plugin.extraction.test.serialize.TestSearchTrace
- getSearchTracesPath(Path) - Static method in class org.hansken.plugin.extraction.test.base.ProcessingUtil
-
Return folder containing search traces given provided path to test trace.
- getTestResource(String) - Static method in class org.hansken.plugin.extraction.test.util.TestResourceUtil
H
- hasDataStreamOfType(Trace, String) - Static method in class org.hansken.plugin.extraction.test.base.ProcessingUtil
-
Validate that given
Tracecontains a data stream of given type. - healthCheck() - Method in class org.hansken.plugin.extraction.test.RemoteExtractionPluginFlits
- HQL_MATCH_MESSAGE - Static variable in class org.hansken.plugin.extraction.test.util.HqlLogger
- HQL_NO_MATCH_MESSAGE - Static variable in class org.hansken.plugin.extraction.test.util.HqlLogger
- HqlLogger - Class in org.hansken.plugin.extraction.test.util
-
This utility class contains some functions to format HQL based logging.
I
- isFileWithExtension(Path, String) - Static method in class org.hansken.plugin.extraction.test.base.ProcessingUtil
-
Return true if the extension filename located at path equals the provided extension.
- isHqlMatch(ClientTrace, DataContext, boolean) - Method in class org.hansken.plugin.extraction.test.base.DefaultExtractionPluginProcessor
- isVerboseEnabled() - Static method in class org.hansken.plugin.extraction.main.StandaloneTestRunner
- isVerboseLoggingEnabled() - Method in class org.hansken.plugin.extraction.test.ExtractionPluginFlits
-
Enable verbose logging for HQL queries.
L
- logTrace(ClientTrace, String, String, String, boolean) - Static method in class org.hansken.plugin.extraction.test.util.HqlLogger
-
This method formats the input
traceaccording to theHqlLogger.HQL_MESSAGE, and logs it to the provided logger.
M
- main(String[]) - Static method in class org.hansken.plugin.extraction.main.StandaloneTestRunner
- MetaTestContext - Class in org.hansken.plugin.extraction.test.serialize
- MetaTestContext(Path) - Constructor for class org.hansken.plugin.extraction.test.serialize.MetaTestContext
-
Create a new MetaTestContext.
N
- name() - Method in class org.hansken.plugin.extraction.test.base.DefaultExtractionPluginProcessor
- name() - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
- newChild(String) - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
- newChild(String, ThrowingConsumer<Trace, IOException>) - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
- nl.minvenj.nfi.flits.serialize - package nl.minvenj.nfi.flits.serialize
O
- org.hansken.plugin.extraction.main - package org.hansken.plugin.extraction.main
- org.hansken.plugin.extraction.test - package org.hansken.plugin.extraction.test
- org.hansken.plugin.extraction.test.base - package org.hansken.plugin.extraction.test.base
- org.hansken.plugin.extraction.test.serialize - package org.hansken.plugin.extraction.test.serialize
- org.hansken.plugin.extraction.test.util - package org.hansken.plugin.extraction.test.util
P
- pattern() - Method in class org.hansken.plugin.extraction.main.StandaloneFlitsTest
- pattern() - Method in class org.hansken.plugin.extraction.test.ExtractionPluginFlits
- pluginToTest() - Method in class org.hansken.plugin.extraction.main.StandaloneFlitsTest
- pluginToTest() - Method in class org.hansken.plugin.extraction.test.EmbeddedDeferredExtractionPluginFlits
-
The
pluginto run over te test set specified byFlits.testPath(). - pluginToTest() - Method in class org.hansken.plugin.extraction.test.EmbeddedExtractionPluginFlits
-
The
pluginto run over te test set specified byFlits.testPath(). - pluginToTest() - Method in class org.hansken.plugin.extraction.test.RemoteExtractionPluginFlits
-
The
pluginto run over te test set specified byFlits.testPath(). - pluginType() - Method in class org.hansken.plugin.extraction.test.EmbeddedDeferredExtractionPluginFlits
- pluginType() - Method in class org.hansken.plugin.extraction.test.EmbeddedExtractionPluginFlits
- pluginType() - Method in class org.hansken.plugin.extraction.test.ExtractionPluginFlits
- pluginType() - Method in class org.hansken.plugin.extraction.test.RemoteExtractionPluginFlits
- position() - Method in class org.hansken.plugin.extraction.test.serialize.RandomAccessFileData
- process(Path, Path) - Method in class org.hansken.plugin.extraction.test.base.DefaultExtractionPluginProcessor
- process(ClientTrace, ClientDataContext) - Method in interface org.hansken.plugin.extraction.test.ExtractionPluginProcessor
- processDeferred(ClientTrace, ClientDataContext, TraceSearcher) - Method in interface org.hansken.plugin.extraction.test.ExtractionPluginProcessor
- ProcessingUtil - Class in org.hansken.plugin.extraction.test.base
-
Utility functions for use when running an
ExtractionPluginProcessor. - processor() - Method in class org.hansken.plugin.extraction.test.EmbeddedDeferredExtractionPluginFlits
- processor() - Method in class org.hansken.plugin.extraction.test.EmbeddedExtractionPluginFlits
- processor() - Method in class org.hansken.plugin.extraction.test.RemoteExtractionPluginFlits
- properties() - Method in class org.hansken.plugin.extraction.test.serialize.TestSearchTrace
- properties() - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
R
- RandomAccessFileData - Class in org.hansken.plugin.extraction.test.serialize
-
A
RandomAccessDataimplementation which reads from an in-memory byte array. - RandomAccessFileData(File) - Constructor for class org.hansken.plugin.extraction.test.serialize.RandomAccessFileData
-
Create a new instance reading from given file.
- read(byte[], int, int) - Method in class org.hansken.plugin.extraction.test.serialize.RandomAccessFileData
- regenerate() - Method in class org.hansken.plugin.extraction.main.StandaloneFlitsTest
- relativePathToWorkingDir(Path) - Static method in class org.hansken.plugin.extraction.test.util.TestResourceUtil
- remote(ExtractionPluginClient, boolean) - Static method in class org.hansken.plugin.extraction.test.base.DefaultExtractionPluginProcessor
-
DefaultExtractionPluginProcessorfor remote extraction plugins. - RemoteExtractionPluginFlits - Class in org.hansken.plugin.extraction.test
-
Base implementation of the
Flitsframework, for use with remoteextraction plugins. - RemoteExtractionPluginFlits() - Constructor for class org.hansken.plugin.extraction.test.RemoteExtractionPluginFlits
- resultFileSuffix() - Method in class org.hansken.plugin.extraction.test.ExtractionPluginFlits
- resultPath() - Method in class org.hansken.plugin.extraction.main.StandaloneFlitsTest
S
- save() - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
- search(String, int) - Method in class org.hansken.plugin.extraction.test.serialize.TestTraceSearcher
- SEARCH_TRACES_DIR_NAME - Static variable in class org.hansken.plugin.extraction.test.base.ProcessingUtil
- searchTraceFromJson(Path) - Static method in class org.hansken.plugin.extraction.test.serialize.Deserialize
-
Create a
SearchTracedescribed by the JSON string. - searchTraceFromPath(Path) - Static method in class org.hansken.plugin.extraction.test.base.ProcessingUtil
-
Create a search trace given the path to the file representing the search trace.
- seek(long) - Method in class org.hansken.plugin.extraction.test.serialize.RandomAccessFileData
- set(String, Object) - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
- setData(String, List<DataTransformation>) - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
- setData(String, DataWriter) - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
- size() - Method in class org.hansken.plugin.extraction.test.serialize.RandomAccessFileData
- StandaloneFlitsTest - Class in org.hansken.plugin.extraction.main
- StandaloneFlitsTest() - Constructor for class org.hansken.plugin.extraction.main.StandaloneFlitsTest
- StandaloneTestRunner - Class in org.hansken.plugin.extraction.main
T
- TestContext - Class in org.hansken.plugin.extraction.test.serialize
-
Simple
ClientDataContextwhich has a data type and an accompanyingdata sequence, used for the input of a Flits run. - TestContext(Path) - Constructor for class org.hansken.plugin.extraction.test.serialize.TestContext
-
Create a new TestContext, which reads all required data.
- TestFrameworkException - Exception in org.hansken.plugin.extraction.test
-
Exception type to indicate exceptions that are related test input (test files, or plugin).
- TestFrameworkException(String) - Constructor for exception org.hansken.plugin.extraction.test.TestFrameworkException
- TestFrameworkException(String, Throwable) - Constructor for exception org.hansken.plugin.extraction.test.TestFrameworkException
- testPath() - Method in class org.hansken.plugin.extraction.main.StandaloneFlitsTest
- TestResourceUtil - Class in org.hansken.plugin.extraction.test.util
- TestSearchTrace - Class in org.hansken.plugin.extraction.test.serialize
- TestSearchTrace(String) - Constructor for class org.hansken.plugin.extraction.test.serialize.TestSearchTrace
- TestSearchTrace(String, Set<String>, Map<String, Object>, Map<String, RandomAccessData>) - Constructor for class org.hansken.plugin.extraction.test.serialize.TestSearchTrace
- TestTrace - Class in org.hansken.plugin.extraction.test.serialize
-
Simple
TraceandClientTraceimplementation used as input for a Flits framework test run. - TestTrace(String) - Constructor for class org.hansken.plugin.extraction.test.serialize.TestTrace
- TestTrace(String, String, String) - Constructor for class org.hansken.plugin.extraction.test.serialize.TestTrace
- TestTrace(String, String, String, Set<String>, Map<String, Object>) - Constructor for class org.hansken.plugin.extraction.test.serialize.TestTrace
- TestTraceSearcher - Class in org.hansken.plugin.extraction.test.serialize
- TestTraceSearcher(Path) - Constructor for class org.hansken.plugin.extraction.test.serialize.TestTraceSearcher
- toJsonString(List<Trace>) - Method in class nl.minvenj.nfi.flits.serialize.TraceToJson
-
Create a JSON string from a list of
trace. - TRACE_TO_JSON - Static variable in interface org.hansken.plugin.extraction.test.ExtractionPluginProcessor
- traceFromJson(Path) - Static method in class org.hansken.plugin.extraction.test.serialize.Deserialize
-
Create a
Tracedescribed by the JSON in the file pointed to by given path. - traceId() - Method in class org.hansken.plugin.extraction.test.serialize.TestSearchTrace
- traceId() - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
- traceSearcherFromData(Path) - Static method in class org.hansken.plugin.extraction.test.serialize.Deserialize
-
Create a trace searcher with files residing in the directory pointed to by the given path.
- TraceToJson - Class in nl.minvenj.nfi.flits.serialize
-
Utility class for creating a JSON representation of
traces. - TRANSFORMATIONS_PREFIX - Static variable in class org.hansken.plugin.extraction.test.util.Constants
-
Prefix for properties which are used to store transformations, in order to be able to retrieve transformations from a
FLITS API trace. - types() - Method in class org.hansken.plugin.extraction.test.serialize.TestSearchTrace
- types() - Method in class org.hansken.plugin.extraction.test.serialize.TestTrace
V
- validate(ThrowableResult, Path) - Method in class org.hansken.plugin.extraction.test.base.DefaultPluginResultValidator
- validate(TraceResult, Path) - Method in class org.hansken.plugin.extraction.test.base.DefaultPluginResultValidator
- validator() - Method in interface org.hansken.plugin.extraction.test.ExtractionPluginProcessor
W
- writePreviews(Trace, JsonGenerator) - Method in class nl.minvenj.nfi.flits.serialize.TraceToJson
- writeProperties(Trace, Set<Property>, JsonGenerator) - Method in class nl.minvenj.nfi.flits.serialize.TraceToJson
- writeToFile(List<Trace>, File) - Method in class nl.minvenj.nfi.flits.serialize.TraceToJson
-
Write a JSON representation of a list of
Traceto aFile, seetoJsonString(List)for more information about the conversion to a JSON string. - writeToGenerator(List<Trace>, JsonGenerator) - Method in class nl.minvenj.nfi.flits.serialize.TraceToJson
-
Write a JSON representation of a list of
traceto aJsonGenerator, seetoJsonString(List)for more information about the conversion to a JSON string. - writeToPath(List<Trace>, Path) - Method in class nl.minvenj.nfi.flits.serialize.TraceToJson
-
Write a JSON representation of a list of
Traceto aPath, seetoJsonString(List)for more information about the conversion to a JSON string. - writeToStream(List<Trace>, OutputStream) - Method in class nl.minvenj.nfi.flits.serialize.TraceToJson
-
Write a JSON representation of a list of
traceto anOutputStream, seetoJsonString(List)for more information about the conversion to a JSON string. - writeTypes(Trace, JsonGenerator) - Method in class nl.minvenj.nfi.flits.serialize.TraceToJson
_
- _info - Variable in class org.hansken.plugin.extraction.test.base.DefaultExtractionPluginProcessor
All Classes All Packages