Package org.apache.juneau.rest.stats
Class ThrownStats.Builder
java.lang.Object
org.apache.juneau.rest.stats.ThrownStats.Builder
- Enclosing class:
- ThrownStats
Builder class.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Create a newThrownStatsusing this builder.causedBy(ThrownStats value) Specifies the caused-by exception.hash(long value) Specifies the calculated hash.stackTrace(List<String> value) Specifies the normalized stacktrace.Specifies the thrown exception.type(Class<? extends ThrownStats> value) Specifies a subclass ofThrownStatsto create when thebuild()method is called.
- 
Constructor Details- 
BuilderConstructor.- Parameters:
- beanStore- The bean store to use for creating beans.
 
 
- 
- 
Method Details- 
buildCreate a newThrownStatsusing this builder.- Returns:
- A new ThrownStats
 
- 
typeSpecifies a subclass ofThrownStatsto create when thebuild()method is called.- Parameters:
- value- The new value for this setting.
- Returns:
- This object.
 
- 
throwableSpecifies the thrown exception.- Parameters:
- value- The new value for this setting.
- Returns:
- This object.
 
- 
hashSpecifies the calculated hash.- Parameters:
- value- The new value for this setting.
- Returns:
- This object.
 
- 
stackTraceSpecifies the normalized stacktrace.- Parameters:
- value- The new value for this setting.
- Returns:
- This object.
 
- 
causedBySpecifies the caused-by exception.- Parameters:
- value- The new value for this setting.
- Returns:
- This object.
 
 
-