コード例 #1
0
 private boolean needServices(CmsRfcRelation rfc) {
   CmsRfcAttribute servicesAttr = rfc.getAttribute("services");
   return servicesAttr != null
       && servicesAttr.getNewValue() != null
       && StringUtils.isNotBlank(servicesAttr.getNewValue());
 }
コード例 #2
0
 private Stream<String> getServices(CmsRfcRelation cmsRfcRelation) {
   String[] ciRequiredServices = cmsRfcRelation.getAttribute("services").getNewValue().split(",");
   return Arrays.stream(ciRequiredServices).filter(s -> !s.startsWith("*"));
 }