/** * Sets regions to be included for JSON conversion. By default, all regions will be included * * @param regions a List of region names to include */ public void setIncludedRegions(List<Region<?, ?>> regions) { nullSafeList(regions).forEach(region -> this.includedRegions.add(toRegionName(region))); }
/** * Sets regions to be included for JSON conversion. By default, all regions will be included * * @param regions a List of region names to include */ public void setIncludedRegions(List<Region<?, ?>> regions) { nullSafeList(regions).forEach(region -> this.includedRegions.add(toRegionName(region))); }
private boolean isIncludedJsonRegion(Region region) { boolean result = false; if (isIncludedJsonRegion(toRegionName(region), toRegionPath(region))) { if (log.isDebugEnabled()) { log.debug(String.format("Region [%s] is included for JSON conversion", region.getName())); } result = true; } return result; }
private boolean isIncludedJsonRegion(Region region) { boolean result = false; if (isIncludedJsonRegion(toRegionName(region), toRegionPath(region))) { if (log.isDebugEnabled()) { log.debug(String.format("Region [%s] is included for JSON conversion", region.getName())); } result = true; } return result; }