public abstract class BasePathInput extends BaseInput<PathInputSpec> implements PathInputSpec
PathInputSpec.| Constructor and Description | 
|---|
| BasePathInput(ComponentFlow.BaseBuilder builder,
             String id) | 
getBuilder, getId, getOrder, order, setOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorderpublic BasePathInput(ComponentFlow.BaseBuilder builder, String id)
public PathInputSpec name(String name)
PathInputSpecname in interface PathInputSpecname - the namepublic PathInputSpec resultValue(String resultValue)
PathInputSpecresultValue in interface PathInputSpecresultValue - the result valuepublic PathInputSpec resultMode(ResultMode resultMode)
PathInputSpecresultMode in interface PathInputSpecresultMode - the result modepublic PathInputSpec defaultValue(String defaultValue)
PathInputSpecdefaultValue in interface PathInputSpecdefaultValue - the defult valuepublic PathInputSpec renderer(Function<PathInput.PathInputContext,List<org.jline.utils.AttributedString>> renderer)
PathInputSpecrenderer in interface PathInputSpecrenderer - the rendererpublic PathInputSpec template(String location)
PathInputSpectemplate in interface PathInputSpeclocation - the template locationpublic PathInputSpec preHandler(Consumer<PathInput.PathInputContext> handler)
PathInputSpecpreHandler in interface PathInputSpechandler - the context handlerpublic PathInputSpec postHandler(Consumer<PathInput.PathInputContext> handler)
PathInputSpecpostHandler in interface PathInputSpechandler - the context handlerpublic PathInputSpec storeResult(boolean store)
PathInputSpecStringInput.StringInputContext into
 ComponentContext with key given to builder. Defaults to true.storeResult in interface PathInputSpecstore - the flag if storing resultpublic PathInputSpec next(Function<PathInput.PathInputContext,String> next)
PathInputSpecnull or non existent id indicates that flow should stop.next in interface PathInputSpecnext - next component functionpublic ComponentFlow.Builder and()
PathInputSpecand in interface PathInputSpecpublic PathInputSpec getThis()
BaseInputSpecgetThis in interface BaseInputSpec<PathInputSpec>public String getName()
public String getResultValue()
public ResultMode getResultMode()
public String getDefaultValue()
public Function<PathInput.PathInputContext,List<org.jline.utils.AttributedString>> getRenderer()
public String getTemplateLocation()
public List<Consumer<PathInput.PathInputContext>> getPreHandlers()
public List<Consumer<PathInput.PathInputContext>> getPostHandlers()
public boolean isStoreResult()
public Function<PathInput.PathInputContext,String> getNext()
Copyright © 2022. All rights reserved.