Package redempt.ordinate.component.flag
Class FlagComponent<T,V> 
java.lang.Object
redempt.ordinate.component.abstracts.CommandComponent<T>
redempt.ordinate.component.flag.FlagComponent<T,V> 
- All Implemented Interfaces:
 Named
- 
Constructor Summary
ConstructorsConstructorDescriptionFlagComponent(String mainName, Set<String> names, ArgType<T, V> type, ContextProvider<T, V> defaultValue, MessageFormatter<T> invalidArgument, MessageFormatter<T> contextError, MessageFormatter<T> noArgument)  - 
Method Summary
 
- 
Constructor Details
- 
FlagComponent
public FlagComponent(String mainName, Set<String> names, ArgType<T, V> type, ContextProvider<T, V> defaultValue, MessageFormatter<T> invalidArgument, MessageFormatter<T> contextError, MessageFormatter<T> noArgument)  
 - 
 - 
Method Details
- 
getMaxConsumedArgs
public int getMaxConsumedArgs()- Specified by:
 getMaxConsumedArgsin classCommandComponent<T>
 - 
getMaxParsedObjects
public int getMaxParsedObjects()- Specified by:
 getMaxParsedObjectsin classCommandComponent<T>
 - 
getMinConsumedArgs
public int getMinConsumedArgs()- Overrides:
 getMinConsumedArgsin classCommandComponent<T>
 - 
getPriority
public int getPriority()- Specified by:
 getPriorityin classCommandComponent<T>
 - 
parse
- Specified by:
 parsein classCommandComponent<T>
 - 
complete
- Overrides:
 completein classCommandComponent<T>
 - 
getName
 - 
getNames
 - 
getType
 
 -