public final class ScoringParameter extends Object
| Constructor and Description |
|---|
ScoringParameter(String nameValuePair)
Constructor to take name value pair string of ScoringParameter.
|
ScoringParameter(String name,
List<String> values)
Initializes a new instance of the ScoringParameter class with the given name and string values.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the scoring parameter.
|
List<String> |
getValues()
Gets the values of the scoring parameter.
|
String |
toString()
Covert
ScoringParameter to string. |
public ScoringParameter(String nameValuePair)
nameValuePair - The dash separated name value pairs.public ScoringParameter(String name, List<String> values)
name - Name of the scoring parameter.values - Values of the scoring parameter.NullPointerException - if name or values is null.public String getName()
public List<String> getValues()
public String toString()
ScoringParameter to string.toString in class ObjectIllegalArgumentException - if all values in the list are null or empty.Copyright © 2020 Microsoft Corporation. All rights reserved.