Examples of cachedStyles()


Examples of org.geoserver.gwc.layer.GeoServerTileLayerInfo.cachedStyles()

        List<GeoServerTileLayer> affected = new ArrayList<GeoServerTileLayer>();
        for (GeoServerTileLayer tl : tileLayers) {
            try {
                GeoServerTileLayerInfo info = tl.getInfo();
                String defaultStyle = tl.getStyles();// may be null if backed by a LayerGroupInfo
                Set<String> cachedStyles = info.cachedStyles();
                if (styleName.equals(defaultStyle) || cachedStyles.contains(styleName)) {
                    affected.add(tl);
                }
            } catch (Exception e) {
                log.log(Level.SEVERE, "Failed to retrieve style info for layer" + tl.getName(), e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.