A C D E G H I L M N O P R S T V W _ 
All Classes All Packages

A

AbstractTestContext - Class in org.hansken.plugin.extraction.test.serialize
ClientDataContext implementation 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 Path which 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 streams of 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 streams of 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 the ExtractionPluginProcessor.process(ClientTrace, ClientDataContext) call to the given ExtractionPlugin.
DefaultPluginResultGenerator - Class in org.hansken.plugin.extraction.test.base
Extension to the DefaultPluginResultGenerator which also writes each data stream of a Trace to a separate file (see Trace.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 DefaultResultValidator which also validates each data stream of a Trace by comparing to each expected file containing a data stream of that type (see DefaultPluginResultGenerator and Trace.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
DefaultExtractionPluginProcessor for embedded deferred extraction plugins.
embedded(ExtractionPlugin, boolean) - Static method in class org.hansken.plugin.extraction.test.base.DefaultExtractionPluginProcessor
DefaultExtractionPluginProcessor for embedded extraction plugins.
EmbeddedDeferredExtractionPluginFlits - Class in org.hansken.plugin.extraction.test
Base implementation of the Flits framework, for use with embedded deferred extraction plugins.
EmbeddedDeferredExtractionPluginFlits() - Constructor for class org.hansken.plugin.extraction.test.EmbeddedDeferredExtractionPluginFlits
 
EmbeddedExtractionPluginFlits - Class in org.hansken.plugin.extraction.test
Base implementation of the Flits framework, for use with embedded extraction 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 trace output, 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 Flits framework.
ExtractionPluginFlits() - Constructor for class org.hansken.plugin.extraction.test.ExtractionPluginFlits
 
ExtractionPluginProcessor - Interface in org.hansken.plugin.extraction.test
Base implementation of the Flits framework processor, for use with external extraction plugins.

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 Trace contains 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 trace according to the HqlLogger.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 plugin to run over te test set specified by Flits.testPath().
pluginToTest() - Method in class org.hansken.plugin.extraction.test.EmbeddedExtractionPluginFlits
The plugin to run over te test set specified by Flits.testPath().
pluginToTest() - Method in class org.hansken.plugin.extraction.test.RemoteExtractionPluginFlits
The plugin to run over te test set specified by Flits.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
Process the given input trace (which may be empty) and context taken from the input path given to the base FlitsProcessor.process(Path, Path) method, using a certain plugin.
processDeferred(ClientTrace, ClientDataContext, TraceSearcher) - Method in interface org.hansken.plugin.extraction.test.ExtractionPluginProcessor
Process the given input trace (which may be empty) and context taken from the input path given to the base FlitsProcessor.process(Path, Path) method, using a certain plugin.
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 RandomAccessData implementation 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
DefaultExtractionPluginProcessor for remote extraction plugins.
RemoteExtractionPluginFlits - Class in org.hansken.plugin.extraction.test
Base implementation of the Flits framework, for use with remote extraction 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 SearchTrace described 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 ClientDataContext which has a data type and an accompanying data 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 Trace and ClientTrace implementation 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 Trace described 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 Trace to a File, see toJsonString(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 trace to a JsonGenerator, see toJsonString(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 Trace to a Path, see toJsonString(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 trace to an OutputStream, see toJsonString(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
 
A C D E G H I L M N O P R S T V W _ 
All Classes All Packages