public static final class ReservedWordsValidator.ReservedWords
extends java.lang.Object
| Constructor and Description | 
|---|
| ReservedWords() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | setReason(java.lang.String reason)Sets the reason for why the words are reserved. | 
| void | setSelector(Selector selector)Sets the selector to use for determining which shapes to validate. | 
| void | setWords(java.util.List<java.lang.String> words)Sets the list of reserved word definitions. | 
public void setWords(java.util.List<java.lang.String> words)
Each word must be a valid word. The word cannot equal "*", and if present, "*", must appear at the start or end of the word.
words - Words to set.public void setSelector(Selector selector)
selector - Selector to set.public void setReason(java.lang.String reason)
reason - Reason to set.