Package io.sentry
Class SpanOptions
java.lang.Object
io.sentry.SpanOptions
- Direct Known Subclasses:
TransactionOptions
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
@NotNull ScopeBindingMode
@Nullable SentryDate
Gets the startTimestampboolean
isIdle()
boolean
boolean
void
setIdle
(boolean idle) void
void
setScopeBindingMode
(@NotNull ScopeBindingMode scopeBindingMode) void
setStartTimestamp
(@Nullable SentryDate startTimestamp) Sets the startTimestampvoid
setTrimEnd
(boolean trimEnd) void
setTrimStart
(boolean trimStart)
-
Field Details
-
origin
-
-
Constructor Details
-
SpanOptions
public SpanOptions()
-
-
Method Details
-
getStartTimestamp
Gets the startTimestamp- Returns:
- startTimestamp - the startTimestamp
-
setStartTimestamp
Sets the startTimestamp- Parameters:
startTimestamp
- - the startTimestamp
-
isTrimStart
public boolean isTrimStart() -
isTrimEnd
public boolean isTrimEnd() -
isIdle
public boolean isIdle() -
setTrimStart
public void setTrimStart(boolean trimStart) -
setTrimEnd
public void setTrimEnd(boolean trimEnd) -
setIdle
public void setIdle(boolean idle) -
getOrigin
-
setOrigin
-
getScopeBindingMode
-
setScopeBindingMode
-