Package org.refcodes.component
Interface Resumable.ResumeBuilder<B extends Resumable.ResumeBuilder<B>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description B
withResume()
Builder method for theResumable.resume()
method.default B
withResumeUnchecked()
Resumes the component by callingwithResume()
without you to require catching anResumeException
.
-
-
-
Method Detail
-
withResume
B withResume() throws ResumeException
Builder method for theResumable.resume()
method.- Returns:
- The instance to be returned on which to apply succeeding builder operations.
- Throws:
ResumeException
- Thrown in case resuming fails.
-
withResumeUnchecked
default B withResumeUnchecked()
Resumes the component by callingwithResume()
without you to require catching anResumeException
.- Returns:
- The instance to be returned on which to apply succeeding builder operations.
- Throws:
ResumeException.ResumeRuntimeException
- encapsulates the cause and is thrown upon encountering aResumeException
exception
-
-