Class CtxHelper.Builder

java.lang.Object
org.refcodes.archetype.CtxHelper.Builder
All Implemented Interfaces:
org.refcodes.cli.ArgsProcessorBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.ArgsProvidierBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodeBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodeBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodeBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.BannerFontAccessor.BannerFontBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodeBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.CopyrightAccessor.CopyrightBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodeBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.ExamplesAccessor.ExamplesBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.LicenseAccessor.LicenseBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodeBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodeBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.mixin.DescriptionAccessor.DescriptionBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.mixin.LineBreakAccessor.LineBreakBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.mixin.NameAccessor.NameBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodeBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.mixin.TitleAccessor.TitleBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.properties.ResourceLoaderBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>, org.refcodes.textual.TextBoxGridAccessor.TextBoxGridBuilder<org.refcodes.archetype.AbstractBuilderCli<CtxHelper.Builder,CtxHelper>>
Enclosing class:
CtxHelper

public static class CtxHelper.Builder extends Object
  • Field Details

    • shortOptionPrefix

      protected Character shortOptionPrefix
    • longOptionPrefix

      protected String longOptionPrefix
    • name

      protected String name
    • passwordPrompt

      protected String passwordPrompt
    • args

      protected String[] args
    • argsSyntax

      protected org.refcodes.cli.Constituent argsSyntax
    • bannerFont

      protected org.refcodes.textual.Font bannerFont
    • bannerFontPalette

      protected char[] bannerFontPalette
    • description

      protected String description
    • examples

      protected Collection<org.refcodes.cli.Example> examples
    • license

      protected String license
    • logger

      protected org.refcodes.logger.RuntimeLogger logger
    • title

      protected String title
    • verboseFallback

      protected boolean verboseFallback
    • shutDownHook

      protected Consumer<Integer> shutDownHook
    • consoleWidth

      protected Integer consoleWidth
    • maxConsoleWidth

      protected Integer maxConsoleWidth
    • escCodesEnabled

      protected Boolean escCodesEnabled
    • textBoxGrid

      protected org.refcodes.textual.TextBoxGrid textBoxGrid
    • lineBreak

      protected String lineBreak
    • descriptionEscCode

      protected String descriptionEscCode
    • commandEscCode

      protected String commandEscCode
    • bannerEscCode

      protected String bannerEscCode
    • bannerBorderEscCode

      protected String bannerBorderEscCode
    • resetEscCode

      protected String resetEscCode
    • optionEscCode

      protected String optionEscCode
    • argumentEscCode

      protected String argumentEscCode
    • syntaxMetrics

      protected org.refcodes.cli.SyntaxMetrics syntaxMetrics
    • file

      protected File file
    • configLocator

      protected org.refcodes.runtime.ConfigLocator configLocator
    • delimiters

      protected char[] delimiters
    • inputStream

      protected InputStream inputStream
    • resourceClass

      protected Class<?> resourceClass
    • filePath

      protected String filePath
    • url

      protected URL url
    • lineSeparatorEscCode

      protected String lineSeparatorEscCode
    • separatorLnChar

      protected Character separatorLnChar
    • standardOut

      protected PrintStream standardOut
    • errorOut

      protected PrintStream errorOut
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public CtxHelper build()
      Creates a new instance to be constructed by this builder.
      Returns:
      The accordingly configured new instance.
    • withResourceClass

      public CtxHelper.Builder withResourceClass(Class<?> aResourceClass)
      AbstractBuilderCli method providing the application's Class which to use when loading resources.
      Parameters:
      aResourceClass - The application's Class which to use when loading resources (of the according module) by invoking Class.getResourceAsStream(String).
      Returns:
      This AbstractBuilderCli as of the builder pattern.
    • withConfigLocator

      public CtxHelper.Builder withConfigLocator(org.refcodes.runtime.ConfigLocator aConfigLocator)
      The ConfigLocator to use when locating the configuration file (defaults to ConfigLocator.DEFAULT.
      Parameters:
      aConfigLocator - The ConfigLocator to use when locating the configuration file (defaults to ConfigLocator.DEFAULT.
      Returns:
      This AbstractBuilderCli as of the builder pattern.
    • withFilePath

      public CtxHelper.Builder withFilePath(String aFilePath)
      The name to your default config file.
      Parameters:
      aFilePath - The name to your default config file.
      Returns:
      This AbstractBuilderCli as of the builder pattern.
    • withPasswordPrompt

      public CtxHelper.Builder withPasswordPrompt(String aPasswordPrompt)
      AbstractBuilderCli method providing the application's default password prompt.
      Parameters:
      aPasswordPrompt - The application's default password prompt.
      Returns:
      This AbstractBuilderCli as of the builder pattern.
    • withLogger

      public CtxHelper.Builder withLogger(org.refcodes.logger.RuntimeLogger aLogger)
      AbstractBuilderCli method providing the application's RuntimeLogger.
      Parameters:
      aLogger - The application's RuntimeLogger.
      Returns:
      This AbstractBuilderCli as of the builder pattern.
    • withShutDownHook

      public CtxHelper.Builder withShutDownHook(Consumer<Integer> aShutDownHook)
      AbstractBuilderCli method providing an (optional) shutdown hook: When provided, then this hook is called instead of System.exit(int) (it is up to the shutdown hook to terminate the application in the end).
      Parameters:
      aShutDownHook - The (optional) shutdown hook.
      Returns:
      This AbstractBuilderCli as of the builder pattern.
    • withVerboseFallback

      public CtxHelper.Builder withVerboseFallback(boolean aVerboseFallback)
      AbstractBuilderCli method providing the application's verbose fallback property. In case no VerboseFlag neither QuietFlag parsers are present and no "verbose" neither "quiet" value are found in the properties, then this value is used as a fallback, either to be "more verbose" (true) or "more quiet" (false).
      Parameters:
      aVerboseFallback - The fallback verbose mode if the verbose mode cannot be determined otherwise.
      Returns:
      This AbstractBuilderCli as of the builder pattern.
    • withSyntaxMetrics

      public CtxHelper.Builder withSyntaxMetrics(org.refcodes.cli.SyntaxNotation aSyntaxNotation)
      Specified by:
      withSyntaxMetrics in interface org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withArgs

      public CtxHelper.Builder withArgs(String[] aArgs, Pattern aFilterExp)
      Specified by:
      withArgs in interface org.refcodes.cli.ArgsProvidierBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withArgs

      public CtxHelper.Builder withArgs(List<String> aArgs, Pattern aFilterExp)
      Specified by:
      withArgs in interface org.refcodes.cli.ArgsProvidierBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withArgs

      public CtxHelper.Builder withArgs(String[] aArgs, org.refcodes.cli.ArgsFilter aArgsFilter)
      Specified by:
      withArgs in interface org.refcodes.cli.ArgsProvidierBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withArgs

      public CtxHelper.Builder withArgs(List<String> aArgs, org.refcodes.cli.ArgsFilter aArgsFilter)
      Specified by:
      withArgs in interface org.refcodes.cli.ArgsProvidierBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withFile

      public CtxHelper.Builder withFile(File aFile) throws IOException, ParseException
      Specified by:
      withFile in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withFile

      public CtxHelper.Builder withFile(File aFile, org.refcodes.runtime.ConfigLocator aConfigLocator) throws IOException, ParseException
      Specified by:
      withFile in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withFile

      public CtxHelper.Builder withFile(File aFile, char... aDelimiters) throws IOException, ParseException
      Specified by:
      withFile in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withInputStream

      public CtxHelper.Builder withInputStream(InputStream aInputStream) throws IOException, ParseException
      Specified by:
      withInputStream in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withResourceClass

      public CtxHelper.Builder withResourceClass(String aFilePath) throws IOException, ParseException
      Specified by:
      withResourceClass in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withResourceClass

      public CtxHelper.Builder withResourceClass(String aFilePath, char... aDelimiters) throws IOException, ParseException
      Specified by:
      withResourceClass in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withResourceClass

      public CtxHelper.Builder withResourceClass(Class<?> aResourceClass, String aFilePath) throws IOException, ParseException
      Specified by:
      withResourceClass in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withResourceClass

      public CtxHelper.Builder withResourceClass(Class<?> aResourceClass, String aFilePath, char... aDelimiters) throws IOException, ParseException
      Specified by:
      withResourceClass in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withResourceClass

      public CtxHelper.Builder withResourceClass(String aFilePath, org.refcodes.runtime.ConfigLocator aConfigLocator, char... aDelimiters) throws IOException, ParseException
      Specified by:
      withResourceClass in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withUrl

      public CtxHelper.Builder withUrl(URL aUrl) throws IOException, ParseException
      Specified by:
      withUrl in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withAddExample

      public CtxHelper.Builder withAddExample(org.refcodes.cli.Example aExamples)
      Specified by:
      withAddExample in interface org.refcodes.cli.ArgsProcessorBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withAddExample

      public CtxHelper.Builder withAddExample(String aDescription, org.refcodes.cli.Operand<?>... aOperands)
      Specified by:
      withAddExample in interface org.refcodes.cli.ArgsProcessorBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withName

      public CtxHelper.Builder withName(String aName)
      Specified by:
      withName in interface org.refcodes.mixin.NameAccessor.NameBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withArgsSyntax

      public CtxHelper.Builder withArgsSyntax(org.refcodes.cli.Constituent aArgsSyntax)
      Specified by:
      withArgsSyntax in interface org.refcodes.cli.ArgsSyntaxAccessor.ArgsSyntaxBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withBannerFont

      public CtxHelper.Builder withBannerFont(org.refcodes.textual.Font aBannerFont)
      Specified by:
      withBannerFont in interface org.refcodes.cli.BannerFontAccessor.BannerFontBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withBannerFontPalette

      public CtxHelper.Builder withBannerFontPalette(org.refcodes.data.AsciiColorPalette aBannerFontPalette)
      Specified by:
      withBannerFontPalette in interface org.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withBannerFontPalette

      public CtxHelper.Builder withBannerFontPalette(char[] aBannerFontPalette)
      Specified by:
      withBannerFontPalette in interface org.refcodes.cli.BannerFontPaletteAccessor.BannerFontPaletteBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withCopyright

      public CtxHelper.Builder withCopyright(String aCopyright)
      Specified by:
      withCopyright in interface org.refcodes.cli.CopyrightAccessor.CopyrightBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withDescription

      public CtxHelper.Builder withDescription(String aDescription)
      Specified by:
      withDescription in interface org.refcodes.mixin.DescriptionAccessor.DescriptionBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withExamples

      public CtxHelper.Builder withExamples(Collection<org.refcodes.cli.Example> aExamples)
      Specified by:
      withExamples in interface org.refcodes.cli.ExamplesAccessor.ExamplesBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withExamples

      public CtxHelper.Builder withExamples(org.refcodes.cli.Example[] aExamples)
      Specified by:
      withExamples in interface org.refcodes.cli.ExamplesAccessor.ExamplesBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withLicense

      public CtxHelper.Builder withLicense(String aLicense)
      Specified by:
      withLicense in interface org.refcodes.cli.LicenseAccessor.LicenseBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withTitle

      public CtxHelper.Builder withTitle(String aTitle)
      Specified by:
      withTitle in interface org.refcodes.mixin.TitleAccessor.TitleBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withFile

      public CtxHelper.Builder withFile(File aFile, org.refcodes.runtime.ConfigLocator aConfigLocator, char... aDelimiters) throws IOException, ParseException
      Specified by:
      withFile in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withInputStream

      public CtxHelper.Builder withInputStream(InputStream aInputStream, char... aDelimiters) throws IOException, ParseException
      Specified by:
      withInputStream in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withResourceClass

      public CtxHelper.Builder withResourceClass(Class<?> aResourceClass, String aFilePath, org.refcodes.runtime.ConfigLocator aConfigLocator, char... aDelimiters) throws IOException, ParseException
      Specified by:
      withResourceClass in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withUrl

      public CtxHelper.Builder withUrl(URL aUrl, char... aDelimiters) throws IOException, ParseException
      Specified by:
      withUrl in interface org.refcodes.properties.ResourceLoaderBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
      Throws:
      IOException
      ParseException
    • withLineBreak

      public CtxHelper.Builder withLineBreak(String aLineBreak)
      Specified by:
      withLineBreak in interface org.refcodes.mixin.LineBreakAccessor.LineBreakBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withDescriptionEscapeCode

      public CtxHelper.Builder withDescriptionEscapeCode(String aDescriptionEscCode)
      Specified by:
      withDescriptionEscapeCode in interface org.refcodes.cli.DescriptionEscapeCodeAccessor.DescriptionEscapeCodeBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withConsoleWidth

      public CtxHelper.Builder withConsoleWidth(int aConsoleWidth)
      Specified by:
      withConsoleWidth in interface org.refcodes.mixin.ConsoleWidthAccessor.ConsoleWidthBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withMaxConsoleWidth

      public CtxHelper.Builder withMaxConsoleWidth(int aMaxConsoleWidth)
      Specified by:
      withMaxConsoleWidth in interface org.refcodes.mixin.MaxConsoleWidthAccessor.MaxConsoleWidthBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withCommandEscapeCode

      public CtxHelper.Builder withCommandEscapeCode(String aCommandEscCode)
      Specified by:
      withCommandEscapeCode in interface org.refcodes.cli.CommandEscapeCodeAccessor.CommandEscapeCodeBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withBannerEscapeCode

      public CtxHelper.Builder withBannerEscapeCode(String aBannerEscCode)
      Specified by:
      withBannerEscapeCode in interface org.refcodes.cli.BannerEscapeCodeAccessor.BannerEscapeCodeBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withBannerBorderEscapeCode

      public CtxHelper.Builder withBannerBorderEscapeCode(String aBannerBorderEscCode)
      Specified by:
      withBannerBorderEscapeCode in interface org.refcodes.cli.BannerBorderEscapeCodeAccessor.BannerBorderEscapeCodeBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withEscapeCodesEnabled

      public CtxHelper.Builder withEscapeCodesEnabled(boolean isEscCodesEnabled)
      Specified by:
      withEscapeCodesEnabled in interface org.refcodes.mixin.EscapeCodesStatusAccessor.EscapeCodeStatusBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withResetEscapeCode

      public CtxHelper.Builder withResetEscapeCode(String aResetEscCode)
      Specified by:
      withResetEscapeCode in interface org.refcodes.mixin.ResetEscapeCodeAccessor.ResetEscapeCodeBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withOptionEscapeCode

      public CtxHelper.Builder withOptionEscapeCode(String aOptionEscCode)
      Specified by:
      withOptionEscapeCode in interface org.refcodes.cli.OptionEscapeCodeAccessor.OptionEscapeCodeBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withArgumentEscapeCode

      public CtxHelper.Builder withArgumentEscapeCode(String aArgumentEscCode)
      Specified by:
      withArgumentEscapeCode in interface org.refcodes.cli.ArgumentEscapeCodeAccessor.ArgumentEscapeCodeBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withSyntaxMetrics

      public CtxHelper.Builder withSyntaxMetrics(org.refcodes.cli.SyntaxMetrics aSyntaxMetrics)
      Specified by:
      withSyntaxMetrics in interface org.refcodes.cli.SyntaxMetricsAccessor.SyntaxMetricsBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withShortOptionPrefix

      public CtxHelper.Builder withShortOptionPrefix(Character aShortOptionPrefix)
      Specified by:
      withShortOptionPrefix in interface org.refcodes.cli.ShortOptionPrefixAccessor.ShortOptionPrefixBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withLongOptionPrefix

      public CtxHelper.Builder withLongOptionPrefix(String aLongOptionPrefix)
      Specified by:
      withLongOptionPrefix in interface org.refcodes.cli.LongOptionPrefixAccessor.LongOptionPrefixBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withTextBoxGrid

      public CtxHelper.Builder withTextBoxGrid(org.refcodes.textual.TextBoxGrid aTextBoxGrid)
      Specified by:
      withTextBoxGrid in interface org.refcodes.textual.TextBoxGridAccessor.TextBoxGridBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withTextBoxGrid

      public CtxHelper.Builder withTextBoxGrid(org.refcodes.textual.TextBoxStyle aTextBoxStyle)
      Specified by:
      withTextBoxGrid in interface org.refcodes.textual.TextBoxGridAccessor.TextBoxGridBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withArgs

      public CtxHelper.Builder withArgs(String[] aArgs)
      Specified by:
      withArgs in interface org.refcodes.cli.ArgsProvidierBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withArgs

      public CtxHelper.Builder withArgs(List<String> aArgs)
      Specified by:
      withArgs in interface org.refcodes.cli.ArgsProvidierBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withLineSeparatorEscapeCode

      public CtxHelper.Builder withLineSeparatorEscapeCode(String aLineSeparatorEscCode)
      Specified by:
      withLineSeparatorEscapeCode in interface org.refcodes.cli.LineSeparatorEscapeCodeAccessor.LineSeparatorEscapeCodeBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withSeparatorLnChar

      public CtxHelper.Builder withSeparatorLnChar(char aSeparatorLnChar)
      Specified by:
      withSeparatorLnChar in interface org.refcodes.cli.ArgsProcessorBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withStandardOut

      public CtxHelper.Builder withStandardOut(PrintStream aStandardOut)
      Specified by:
      withStandardOut in interface org.refcodes.cli.ArgsProcessorBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>
    • withErrorOut

      public CtxHelper.Builder withErrorOut(PrintStream aErrorOut)
      Specified by:
      withErrorOut in interface org.refcodes.cli.ArgsProcessorBuilder<B extends org.refcodes.archetype.AbstractBuilderCli<B,R>>