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