Uses of Interface
org.hansken.plugin.extraction.api.Trace
-
Packages that use Trace Package Description org.hansken.plugin.extraction.api This is the API of the Extraction Plugins SDK. -
-
Uses of Trace in org.hansken.plugin.extraction.api
Methods in org.hansken.plugin.extraction.api that return Trace Modifier and Type Method Description default Trace
Trace. addTracelet(String type, Consumer<Trace.TraceletBuilder> callback)
Add a tracelet to the trace.Trace
Trace. addTracelet(Trace.Tracelet tracelet)
Deprecated.useaddTracelet(type, callback)
Trace
Trace. addType(String type)
Add a type to this trace (for example:"file"
).Trace
Trace. newChild(String name, ThrowingConsumer<Trace,IOException> enrichChildCallback)
Create and store new childtrace
of this trace.Trace
Trace. set(String name, Object value)
Set a property on this trace with a givenvalue
.default Trace
Trace. setData(String dataType, InputStream stream)
Trace
Trace. setData(String dataType, List<DataTransformation> transformation)
Set a series of data transformations for a specific dataType.Trace
Trace. setData(String dataType, DataWriter writer)
default Trace
Trace. setData(String dataType, DataTransformation... transformations)
Set a series of data transformations for a specific dataType.Methods in org.hansken.plugin.extraction.api with parameters of type Trace Modifier and Type Method Description void
DeferredExtractionPlugin. process(Trace trace, DataContext dataContext, TraceSearcher searcher)
Start processing atrace
.void
ExtractionPlugin. process(Trace trace, DataContext dataContext)
Start processing atrace
with a givendata context
.abstract void
MetaExtractionPlugin. process(Trace trace)
Start processing atrace
without any of its associated data streams.void
MetaExtractionPlugin. process(Trace trace, DataContext dataContext)
Method parameters in org.hansken.plugin.extraction.api with type arguments of type Trace Modifier and Type Method Description Trace
Trace. newChild(String name, ThrowingConsumer<Trace,IOException> enrichChildCallback)
Create and store new childtrace
of this trace.
-