Module org.refcodes.component
Package org.refcodes.component
Interface Initializable.InitializeBuilder<B extends Initializable.InitializeBuilder<B>>
- Type Parameters:
B- The instance to be returned on which to apply succeeding builder operations.
- Enclosing interface:
- Initializable
public static interface Initializable.InitializeBuilder<B extends Initializable.InitializeBuilder<B>>
To enable the
Initializable functionality to be invoked in a
builder chain.-
Method Summary
Modifier and TypeMethodDescriptionBuilder method for theInitializable.initialize()method.default BInitialize the component by callingwithInitialize()without you to require catching anInitializeException.
-
Method Details
-
withInitialize
Builder method for theInitializable.initialize()method.- Returns:
- The instance to be returned on which to apply succeeding builder operations.
- Throws:
InitializeException- Thrown in case initializing fails.
-
withInitializeUnchecked
Initialize the component by callingwithInitialize()without you to require catching anInitializeException.- Returns:
- The instance to be returned on which to apply succeeding builder operations.
- Throws:
InitializeException.InitializeRuntimeException- encapsulates the aCause and is thrown upon encountering aInitializeExceptionexception
-