public interface RuntimeProperties extends ArgsParserProperties, org.refcodes.configuration.ResourceProperties, org.refcodes.configuration.ResourcePropertiesMixin<RuntimeProperties>
ResourcePropertiesMixin.withFile(java.io.File)
,
ResourcePropertiesMixin.withUrl(java.net.URL)
or the like to load the properties from
external resources. After construction the use
withParseArgs(String[])
or the like to parse the command line
arguments (implementations might provide a constructor such as RuntimePropertiesImpl.RuntimePropertiesImpl()
for the command line arguments if you
do not require a command syntax notation).
RuntimeProperties
represent a composition of the different
Properties
flavors, therefore providing functionality from the
ArgsParserProperties
as well as from the ResourceProperties
types.org.refcodes.console.RootConditionAccessor.RootConditionBuilder<B extends org.refcodes.console.RootConditionAccessor.RootConditionBuilder<B>>, org.refcodes.console.RootConditionAccessor.RootConditionMutator, org.refcodes.console.RootConditionAccessor.RootConditionProperty
org.refcodes.configuration.ResourceProperties.MutableResoureProperties, org.refcodes.configuration.ResourceProperties.ResourcePropertiesBuilder
org.refcodes.configuration.Properties.MutableProperties, org.refcodes.configuration.Properties.PropertiesBuilder
org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMap
org.refcodes.structure.PathMap.MutablePathMap<T>, org.refcodes.structure.PathMap.PathMapBuilder<T>
org.refcodes.structure.Dictionary.MutableDictionary<K,V>
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
org.refcodes.mixin.TypeAccessor.TypeMutator<T>, org.refcodes.mixin.TypeAccessor.TypeProperty<T>
org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<T>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
evalArgs, evalArgs, evalArgs, evalArgs
errorLn, getRootCondition, printBanner, printCopyrightNote, printDescription, printHelp, printLicenseNote, printLn, printLn, printOptions, printSeparatorLn, printUsage, setBannerFont, setBannerFontPalette, setConsoleWidth, setCopyrightNote, setErrorOut, setLicenseNote, setLineBreak, setMaxConsoleWidth, setSeparatorChar, setStandardOut, setSyntaxNotation, setUsageLabel
setDescription
childrenOf, containsValue, getDelimiter, getType, retrieve, retrieveFrom, retrieveTo, toMap, toProperties, toPropertyPath
toInstance, toInstance, toType, toType
directories, directories, entries, entries, fromExternalKey, getArray, getArray, getRootPath, hasParentPath, isArray, isArray, isDirectory, isEntry, isRecord, isRootPath, keySet, paths, paths, records, records, toDataStructure, toDataStructure, toExternalKey, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPath
containsKey, get, getBoolean, getBoolean, getByte, getByte, getCharacter, getCharacter, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getLong, getLong, getShort, getShort, use, useBoolean, useBoolean, useByte, useByte, useDouble, useDouble, useFloat, useFloat, useInteger, useInteger, useLong, useLong, useShort, useShort
RuntimeProperties withParseArgs(String[] aArgs) throws org.refcodes.console.UnknownArgsException, org.refcodes.console.AmbiguousArgsException, org.refcodes.console.SuperfluousArgsException, org.refcodes.console.ParseArgsException
withParseArgs
in interface org.refcodes.console.ArgsParser
withParseArgs
in interface org.refcodes.console.ArgsParserMixin<org.refcodes.console.ArgsParser>
org.refcodes.console.UnknownArgsException
org.refcodes.console.AmbiguousArgsException
org.refcodes.console.SuperfluousArgsException
org.refcodes.console.ParseArgsException
default RuntimeProperties withParseArgs(List<String> aArgs) throws org.refcodes.console.UnknownArgsException, org.refcodes.console.AmbiguousArgsException, org.refcodes.console.SuperfluousArgsException, org.refcodes.console.ParseArgsException
withParseArgs
in interface org.refcodes.console.ArgsParserMixin<org.refcodes.console.ArgsParser>
org.refcodes.console.UnknownArgsException
org.refcodes.console.AmbiguousArgsException
org.refcodes.console.SuperfluousArgsException
org.refcodes.console.ParseArgsException
default RuntimeProperties withTitle(String aTitle)
withTitle
in interface org.refcodes.console.ArgsParser
withTitle
in interface org.refcodes.mixin.TitleAccessor.TitleBuilder<org.refcodes.console.ArgsParser>
default org.refcodes.console.ArgsParser withUsageLabel(String aUsageLabel)
withUsageLabel
in interface org.refcodes.console.ArgsParser
default RuntimeProperties withBannerFont(org.refcodes.textual.Font aBannerFont)
withBannerFont
in interface org.refcodes.console.ArgsParser
default RuntimeProperties withBannerFontPalette(char[] aColorPalette)
withBannerFontPalette
in interface org.refcodes.console.ArgsParser
default RuntimeProperties withConsoleWidth(int aConsoleWidth)
withConsoleWidth
in interface org.refcodes.console.ArgsParser
default RuntimeProperties withCopyrightNote(String aCopyrightNote)
withCopyrightNote
in interface org.refcodes.console.ArgsParser
default RuntimeProperties withDescription(String aDescription)
withDescription
in interface org.refcodes.console.ArgsParser
withDescription
in interface org.refcodes.mixin.DescriptionAccessor.DescriptionBuilder<org.refcodes.console.ArgsParser>
default RuntimeProperties withErrorOut(PrintStream aErrorOut)
withErrorOut
in interface org.refcodes.console.ArgsParser
default RuntimeProperties withEvalArgs(List<String> aArgs) throws org.refcodes.console.UnknownArgsException, org.refcodes.console.AmbiguousArgsException, org.refcodes.console.SuperfluousArgsException, org.refcodes.console.ParseArgsException
withEvalArgs
in interface org.refcodes.console.ArgsParser
withEvalArgs
in interface ArgsParserProperties
org.refcodes.console.UnknownArgsException
org.refcodes.console.AmbiguousArgsException
org.refcodes.console.SuperfluousArgsException
org.refcodes.console.ParseArgsException
default RuntimeProperties withEvalArgs(String aToPath, List<String> aArgs) throws org.refcodes.console.UnknownArgsException, org.refcodes.console.AmbiguousArgsException, org.refcodes.console.SuperfluousArgsException, org.refcodes.console.ParseArgsException
withEvalArgs
in interface ArgsParserProperties
org.refcodes.console.UnknownArgsException
org.refcodes.console.AmbiguousArgsException
org.refcodes.console.SuperfluousArgsException
org.refcodes.console.ParseArgsException
default RuntimeProperties withEvalArgs(String aToPath, String[] aArgs) throws org.refcodes.console.UnknownArgsException, org.refcodes.console.AmbiguousArgsException, org.refcodes.console.SuperfluousArgsException, org.refcodes.console.ParseArgsException
withEvalArgs
in interface ArgsParserProperties
org.refcodes.console.UnknownArgsException
org.refcodes.console.AmbiguousArgsException
org.refcodes.console.SuperfluousArgsException
org.refcodes.console.ParseArgsException
default RuntimeProperties withEvalArgs(String[] aArgs) throws org.refcodes.console.UnknownArgsException, org.refcodes.console.AmbiguousArgsException, org.refcodes.console.SuperfluousArgsException, org.refcodes.console.ParseArgsException
withEvalArgs
in interface org.refcodes.console.ArgsParser
withEvalArgs
in interface ArgsParserProperties
org.refcodes.console.UnknownArgsException
org.refcodes.console.AmbiguousArgsException
org.refcodes.console.SuperfluousArgsException
org.refcodes.console.ParseArgsException
default RuntimeProperties withLicenseNote(String aLicenseNote)
withLicenseNote
in interface org.refcodes.console.ArgsParser
default RuntimeProperties withLineBreak(String aLineBreak)
withLineBreak
in interface org.refcodes.console.ArgsParser
default RuntimeProperties withMaxConsoleWidth(int aMaxConsoleWidth)
withMaxConsoleWidth
in interface org.refcodes.console.ArgsParser
default RuntimeProperties withName(String aName)
withName
in interface org.refcodes.console.ArgsParser
withName
in interface org.refcodes.mixin.NameAccessor.NameBuilder<org.refcodes.console.ArgsParser>
default RuntimeProperties withSeparatorChar(char aSeparatorChar)
withSeparatorChar
in interface org.refcodes.console.ArgsParser
default RuntimeProperties withStandardOut(PrintStream aStandardOut)
withStandardOut
in interface org.refcodes.console.ArgsParser
default RuntimeProperties withSyntaxNotation(org.refcodes.console.SyntaxNotation aSyntaxNotation)
withSyntaxNotation
in interface org.refcodes.console.ArgsParser
Copyright © 2018. All rights reserved.