예제 #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("*"));
 }