public abstract class ArgumentParserDefault extends java.lang.Object implements ArgumentParser
Modifier and Type | Field and Description |
---|---|
static ArgumentParserStackKey<java.lang.Runnable> |
RUNNABLE |
Constructor and Description |
---|
ArgumentParserDefault() |
Modifier and Type | Method and Description |
---|---|
protected void |
clearValueStackMap() |
protected abstract void |
createValueStackMap() |
java.util.List<ApplicationVessel> |
getApplicationVesselList() |
ArgumentParserElementFactory |
getFactory(java.lang.String key) |
java.util.Map<java.lang.String,ArgumentParserElementFactory> |
getFactoryMap() |
<T> java.util.Deque<T> |
getValueStack(ArgumentParserStackKey<T> key) |
protected void |
initValueStackState() |
void |
parse(java.util.List<java.lang.String> args) |
void |
registerFactory(java.lang.String key,
ArgumentParserElementFactory value) |
public static final ArgumentParserStackKey<java.lang.Runnable> RUNNABLE
public java.util.List<ApplicationVessel> getApplicationVesselList()
getApplicationVesselList
in interface ArgumentParser
public <T> java.util.Deque<T> getValueStack(ArgumentParserStackKey<T> key)
getValueStack
in interface ArgumentParser
protected void initValueStackState()
protected void clearValueStackMap()
protected abstract void createValueStackMap()
public java.util.Map<java.lang.String,ArgumentParserElementFactory> getFactoryMap()
public void registerFactory(java.lang.String key, ArgumentParserElementFactory value)
registerFactory
in interface ArgumentParser
public ArgumentParserElementFactory getFactory(java.lang.String key)
getFactory
in interface ArgumentParser
public void parse(java.util.List<java.lang.String> args)