public class Trace extends Object implements IEntityModel<TraceEntry>
| Modifier and Type | Field and Description |
|---|---|
protected String |
id
The id of the trace.
|
protected Set<String> |
labels
A set of all labels in the trace.
|
protected List<TraceEntry> |
trace
The trace as a list of trace entries.
|
| Constructor and Description |
|---|
Trace(List<TraceEntry> trace)
Create the trace structure.
|
Trace(String[] trace) |
| Modifier and Type | Method and Description |
|---|---|
Collection<TraceEntry> |
getEntities() |
String |
getId() |
Set<String> |
getLabelsOfTrace()
Returns the set of labels that are observed in the trace
|
int |
getLength()
Returns the length of the trace
|
List<TraceEntry> |
getTraceAsList()
Returns the trace as a list of strings
|
void |
setId(String id) |
protected String id
protected List<TraceEntry> trace
public Trace(List<TraceEntry> trace)
trace, - a list of strings to represent the tracepublic Trace(String[] trace)
public List<TraceEntry> getTraceAsList()
public Collection<TraceEntry> getEntities()
getEntities in interface IEntityModel<TraceEntry>public Set<String> getLabelsOfTrace()
public int getLength()
public String getId()
public void setId(String id)
Copyright © 2017. All rights reserved.