CTX
- the context used to initialize the implementing instance.B
- The instance to be returned on which to apply succeeding
builder operations.public static interface Configurable.ConfigureBuilder<CTX,B extends Configurable.ConfigureBuilder<CTX,B>>
Initializable
functionality to be invoked in a
builder chain.Modifier and Type | Method | Description |
---|---|---|
B |
withInitialize(CTX aContext) |
Builder method for the
Configurable.initialize(Object)
method. |
default B |
withInitializeUnchecked(CTX aContext) |
Initializes the component by calling
withInitialize(Object)
without you to require catching an ConfigureException . |
B withInitialize(CTX aContext) throws ConfigureException
Configurable.initialize(Object)
method.aContext
- The context to be passed to the implementing
instance.ConfigureException
- Thrown in case initializing fails.default B withInitializeUnchecked(CTX aContext)
withInitialize(Object)
without you to require catching an ConfigureException
.aContext
- The context to be passed to the implementing
instance.org.refcodes.exception.HiddenException
- encapsulates the cause and is thrown upon
encountering a ConfigureException
exceptionCopyright © 2018. All rights reserved.