Package org.apache.juneau.rest.stats
Class MethodExecStats.Builder
- Enclosing class:
MethodExecStats
Builder class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MethodExecStats
Creates the bean when the bean type isnull or is the default value.Overrides the bean returned by theBeanBuilder.build()
method.Specifies the Java method.thrownStore
(ThrownStore value) Specifies the thrown store for tracking exceptions.Overrides the bean type produced by theBeanBuilder.build()
method.
-
Constructor Details
-
Builder
Constructor.- Parameters:
beanStore
- The bean store to use for creating beans.
-
-
Method Details
-
buildDefault
Description copied from class:BeanBuilder
Creates the bean when the bean type isnull or is the default value.- Overrides:
buildDefault
in classBeanBuilder<MethodExecStats>
- Returns:
- A new bean.
-
method
Specifies the Java method.- Parameters:
value
- The new value for this setting.- Returns:
- This object.
-
thrownStore
Specifies the thrown store for tracking exceptions.- Parameters:
value
- The new value for this setting.- Returns:
- This object.
-
impl
Description copied from class:BeanBuilder
Overrides the bean returned by theBeanBuilder.build()
method.Use this method if you want this builder to return an already-instantiated bean.
- Overrides:
impl
in classBeanBuilder<MethodExecStats>
- Parameters:
value
- The setting value.- Returns:
- This object.
-
type
Description copied from class:BeanBuilder
Overrides the bean type produced by theBeanBuilder.build()
method.Use this method if you want to instantiated a bean subclass.
- Overrides:
type
in classBeanBuilder<MethodExecStats>
- Parameters:
value
- The setting value.- Returns:
- This object.
-