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