Class StaticCommandToken
java.lang.Object
com.symphony.bdk.core.activity.parsing.StaticCommandToken
- All Implemented Interfaces:
CommandToken
,RegexCommandToken
Command token only matching a given fixed word.
-
Constructor Details
-
StaticCommandToken
- Parameters:
pattern
- the string to be exactly matched. Begin and end anchors will be added to construct the regex pattern.
-
-
Method Details
-
getRegexPattern
- Specified by:
getRegexPattern
in interfaceRegexCommandToken
- Returns:
- the regex pattern the word must follow in order to match.
-