@API(status=INTERNAL) public class StaticCommandToken extends java.lang.Object implements RegexCommandToken
Constructor and Description |
---|
StaticCommandToken(java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
java.util.regex.Pattern |
getRegexPattern() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTokenType, matches
public StaticCommandToken(java.lang.String pattern)
pattern
- the string to be exactly matched. Begin and end anchors will be added to construct the regex pattern.public java.util.regex.Pattern getRegexPattern()
getRegexPattern
in interface RegexCommandToken