Interface Trace.TraceletBuilder
- Enclosing interface:
Trace
public static interface Trace.TraceletBuilder
-
Method Summary
-
Method Details
-
set
Set a property on this tracelet with a givenvalue.- Parameters:
name- the name of the property to setvalue- the value to set- Returns:
this- Throws:
IllegalArgumentException- if the property or value of the property is invalid as per the trace model
-
get
Returns the currently set value (if any) for the requested property.- Type Parameters:
T- the type of the value to get- Parameters:
name- property name- Returns:
- the currently set value of this property
-
getType
String getType()Returns the type of this tracelet.- Returns:
- the tracelet type
-