Module org.refcodes.component
Package org.refcodes.component
Interface Ceasable.CeaseBuilder<B extends Ceasable.CeaseBuilder<B>>
- Type Parameters:
B
- The instance to be returned on which to apply succeeding builder operations.
- Enclosing interface:
- Ceasable
public static interface Ceasable.CeaseBuilder<B extends Ceasable.CeaseBuilder<B>>
To enable the
Ceasable
functionality to be invoked in a builder
chain.-
Method Summary
Modifier and TypeMethodDescriptionBuilder method for theCeasable.cease()
method.default B
Ceases the component by callingwithCease()
without you to require catching anCeaseException
.
-
Method Details
-
withCease
Builder method for theCeasable.cease()
method.- Returns:
- The instance to be returned on which to apply succeeding builder operations.
- Throws:
CeaseException
- Thrown in case ceasing fails.
-
withCeaseUnchecked
Ceases the component by callingwithCease()
without you to require catching anCeaseException
.- Returns:
- The instance to be returned on which to apply succeeding builder operations.
- Throws:
CeaseException.CeaseRuntimeException
- encapsulates the cause and is thrown upon encountering aCeaseException
exception
-