FindChoicesOptions Class
- java.
lang. Object - com.
microsoft. bot. dialogs. choices. FindValuesOptions - com.
microsoft. bot. dialogs. choices. FindChoicesOptions
- com.
- com.
public class FindChoicesOptions
extends FindValuesOptions
Contains options to control how input is matched against a list of choices.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| FindChoicesOptions() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| boolean |
isNoAction()
Indicates whether the title of the choices action will NOT be searched over. |
| boolean |
isNoValue()
Indicates whether the choices value will NOT be search over. |
| boolean |
isRecognizeNumbers()
Indicates whether the recognizer should check for Numbers using the Number |
| boolean |
isRecognizeOrdinals()
Indicates whether the recognizer should check for Ordinal Numbers using the Number |
| void |
setNoAction(boolean withNoAction)
Sets whether the title of the choices action will NOT be searched over. |
| void |
setNoValue(boolean withNoValue)
Sets whether the choices value will NOT be search over. |
| void |
setRecognizeNumbers(boolean withRecognizeNumbers)
Set whether the recognizer should check for Numbers using the Number |
| void |
setRecognizeOrdinals(boolean withRecognizeOrdinals)
Sets whether the recognizer should check for Ordinal Numbers using the Number |
Methods inherited from FindValuesOptions
Methods inherited from java.lang.Object
Constructor Details
FindChoicesOptions
public FindChoicesOptions()
Method Details
isNoAction
public boolean isNoAction()
Indicates whether the title of the choices action will NOT be searched over. The default is false.
Returns:
isNoValue
public boolean isNoValue()
Indicates whether the choices value will NOT be search over. The default is false.
Returns:
isRecognizeNumbers
public boolean isRecognizeNumbers()
Indicates whether the recognizer should check for Numbers using the NumberRecognizer's NumberModel.
Returns:
isRecognizeOrdinals
public boolean isRecognizeOrdinals()
Indicates whether the recognizer should check for Ordinal Numbers using the NumberRecognizer's OrdinalModel.
Returns:
setNoAction
public void setNoAction(boolean withNoAction)
Sets whether the title of the choices action will NOT be searched over.
Parameters:
setNoValue
public void setNoValue(boolean withNoValue)
Sets whether the choices value will NOT be search over.
Parameters:
setRecognizeNumbers
public void setRecognizeNumbers(boolean withRecognizeNumbers)
Set whether the recognizer should check for Numbers using the NumberRecognizer's NumberModel.
Parameters:
setRecognizeOrdinals
public void setRecognizeOrdinals(boolean withRecognizeOrdinals)
Sets whether the recognizer should check for Ordinal Numbers using the NumberRecognizer's OrdinalModel.
Parameters: