public class ParseState<T> extends Object
public static <T> ParseState<T> newInstance()
public ParseState<T> pushContext(Context location)
public ParseState<T> popContext()
public ParseState<T> withOptionValue(OptionMetadata option, String rawValue)
public ParseState<T> withGlobal(GlobalMetadata<T> global)
public ParseState<T> withConfiguration(ParserMetadata<T> parserConfig)
public ParseState<T> withGroup(CommandGroupMetadata group)
public ParseState<T> withCommand(CommandMetadata command)
public ParseState<T> withOption(OptionMetadata option)
public ParseState<T> withArgument(ArgumentsMetadata arguments, String rawValue)
public ParseState<T> withUnparsedInput(String input)
public Context getLocation()
public GlobalMetadata<T> getGlobal()
public ParserMetadata<T> getParserConfiguration()
public CommandGroupMetadata getGroup()
public CommandMetadata getCommand()
public OptionMetadata getCurrentOption()
public List<org.apache.commons.lang3.tuple.Pair<OptionMetadata,Object>> getParsedOptions()
public int getOptionValuesSeen(OptionMetadata option)
Copyright © 2012–2022. All rights reserved.