public static final class StandardOperationVerbValidator.Config
extends java.lang.Object
Constructor and Description |
---|
Config() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getPrefixes() |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getSuggestAlternatives() |
java.util.List<java.lang.String> |
getVerbs() |
void |
setPrefixes(java.util.List<java.lang.String> prefixes)
Sets the list of acceptable verb prefixed (e.g., Batch).
|
void |
setSuggestAlternatives(java.util.Map<java.lang.String,java.util.List<java.lang.String>> suggestAlternatives)
Sets a map of invalid verbs to suggested alternatives.
|
void |
setVerbs(java.util.List<java.lang.String> verbs)
Sets the list of standard operation verbs.
|
public java.util.List<java.lang.String> getVerbs()
public void setVerbs(java.util.List<java.lang.String> verbs)
verbs
- Verbs to allow.public java.util.List<java.lang.String> getPrefixes()
public void setPrefixes(java.util.List<java.lang.String> prefixes)
prefixes
- The list of verb prefixes.public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getSuggestAlternatives()
public void setSuggestAlternatives(java.util.Map<java.lang.String,java.util.List<java.lang.String>> suggestAlternatives)
suggestAlternatives
- Alternative verb suggestions.