Interface ImmutableThreadFactoryProvider.BuildFinal
- All Known Implementing Classes:
ImmutableThreadFactoryProvider.Builder
- Enclosing class:
- ImmutableThreadFactoryProvider
public static interface ImmutableThreadFactoryProvider.BuildFinal
-
Method Summary
-
Method Details
-
priority
Initializes the optional valuepriority
to priority.- Parameters:
priority
- The value for priority- Returns:
this
builder for chained invocation
-
priority
Initializes the optional valuepriority
to priority.- Parameters:
priority
- The value for priority- Returns:
this
builder for use in a chained invocation
-
daemon
Initializes the value for thedaemon
attribute.If not set, this attribute will have a default value as returned by the initializer of
daemon
.- Parameters:
daemon
- The value for daemon- Returns:
this
builder for use in a chained invocation
-
build
ImmutableThreadFactoryProvider build()Builds a newImmutableThreadFactoryProvider
.- Returns:
- An immutable instance of ThreadFactoryProvider
- Throws:
IllegalStateException
- if any required attributes are missing
-