Package redempt.ordinate.context
Class ContextComponent<T,V>
java.lang.Object
redempt.ordinate.component.abstracts.CommandComponent<T>
redempt.ordinate.context.ContextComponent<T,V>
- All Implemented Interfaces:
Named
-
Constructor Summary
ConstructorDescriptionContextComponent
(String name, ContextProvider<T, V> contextProvider, MessageFormatter<T> error) -
Method Summary
-
Constructor Details
-
ContextComponent
public ContextComponent(String name, ContextProvider<T, V> contextProvider, MessageFormatter<T> error)
-
-
Method Details
-
getName
-
getMaxConsumedArgs
public int getMaxConsumedArgs()- Specified by:
getMaxConsumedArgs
in classCommandComponent<T>
-
getMaxParsedObjects
public int getMaxParsedObjects()- Specified by:
getMaxParsedObjects
in classCommandComponent<T>
-
getPriority
public int getPriority()- Specified by:
getPriority
in classCommandComponent<T>
-
parse
- Specified by:
parse
in classCommandComponent<T>
-