getValue(audienceID, configData, arguments)
![]() |
audienceID - 用于标识受众标识的值。
|
![]() |
configData - 一个映射,包含调出所必需的配置数据的键值对。
|
![]() |
arguments - 调出所必需的参数。每个参数可以是一个字符串、双精度类型、日期或它们其中一个的列表。 列表参数可以包含空值,但是列表不能包含字符串和双精度类型(举例而言)。
|
public List<String> getValue(AudienceId audienceId, Map<String,
String> configurationData, Object... arguments) throws CalloutException
{
Long customerId = (Long) audienceId.getComponentValue("Customer");
// now query scoreQueryUtility for the credit score of customerId
Double score = scoreQueryUtility.query(customerId);
String str = Double.toString(score);
List<String> list = new LinkedList<String>();
list.add(str);
return list;
}
Copyright IBM Corporation 2013. All Rights Reserved.
|