@Override
public void validate(PortletPreferences preferences) throws ValidatorException {
EnvironmentTests_PortletPreferences_ApiAction.tr32_success = true;
EnvironmentTests_PortletPreferences_ApiEvent_event.tr32_success = true;
EnvironmentTests_PortletPreferences_ApiResource.tr32_success = true;
if (preferences.getValue("tr33", "true").equals("false")) {
ArrayList<String> al = new ArrayList<String>();
al.add("tr33");
al.add("tr34");
throw new ValidatorException("ValidatorException for tr33 and tr34", al);
}
}
V2EnvironmentTests_PortletPreferences_Validator.java 文件源码
java
阅读 18
收藏 0
点赞 0
评论 0
项目:portals-pluto
作者:
评论列表
文章目录