public interface ConfirmationInputSpec extends BaseInputSpec<ConfirmationInputSpec>
getThis, order
ConfirmationInputSpec name(String name)
name
- the nameConfirmationInputSpec resultValue(Boolean resultValue)
resultValue
- the result valueConfirmationInputSpec resultMode(ResultMode resultMode)
resultMode
- the result modeConfirmationInputSpec defaultValue(Boolean defaultValue)
defaultValue
- the defult valueConfirmationInputSpec renderer(Function<ConfirmationInput.ConfirmationInputContext,List<org.jline.utils.AttributedString>> renderer)
renderer
- the rendererConfirmationInputSpec template(String location)
location
- the template locationConfirmationInputSpec preHandler(Consumer<ConfirmationInput.ConfirmationInputContext> handler)
handler
- the context handlerConfirmationInputSpec postHandler(Consumer<ConfirmationInput.ConfirmationInputContext> handler)
handler
- the context handlerConfirmationInputSpec storeResult(boolean store)
ConfirmationInput.ConfirmationInputContext
into
ComponentContext
with key given to builder. Defaults to true
.store
- the flag if storing resultConfirmationInputSpec next(Function<ConfirmationInput.ConfirmationInputContext,String> next)
next
- next component functionComponentFlow.Builder and()
Copyright © 2022. All rights reserved.