Class TreeAction
-
- All Implemented Interfaces:
public abstract class TreeAction<T extends Comparable<out Object>> extends Action
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
TreeAction.TreeActionType
-
Field Summary
Fields Modifier and Type Field Description public final TreeAction.TreeActionType
actionType
public final String
globalId
public final Action
defaultAction
public final Action
matchAction
public final TreeMap<T, Action>
actions
-
Constructor Summary
Constructors Constructor Description TreeAction(BaseActionManager manager, ConfigReader config, Class<T> keyType)
-
Method Summary
Modifier and Type Method Description TreeAction.TreeActionType
getActionType()
String
getGlobalId()
Action
getDefaultAction()
Action
getMatchAction()
TreeMap<T, Action>
getActions()
ActionType
getType()
T
cast(@NonNull() Object result)
Class<T>
getKeyType()
abstract Evaluator<T>
getKey()
-
-
Constructor Detail
-
TreeAction
TreeAction(BaseActionManager manager, ConfigReader config, Class<T> keyType)
-
-
Method Detail
-
getActionType
@NonNull() TreeAction.TreeActionType getActionType()
-
getGlobalId
@NonNull() String getGlobalId()
-
getDefaultAction
@NonNull() Action getDefaultAction()
-
getMatchAction
@NonNull() Action getMatchAction()
-
getActions
@NonNull() TreeMap<T, Action> getActions()
-
getType
@NonNull() ActionType getType()
-
getKeyType
@NonNull() Class<T> getKeyType()
-
-
-
-