Class StaticCommandToken

java.lang.Object
com.symphony.bdk.core.activity.parsing.StaticCommandToken
All Implemented Interfaces:
CommandToken, RegexCommandToken

@API(status=INTERNAL) public class StaticCommandToken extends Object implements RegexCommandToken
Command token only matching a given fixed word.
  • Constructor Details

    • StaticCommandToken

      public StaticCommandToken(String pattern)
      Parameters:
      pattern - the string to be exactly matched. Begin and end anchors will be added to construct the regex pattern.
  • Method Details