public static List<String> getValidLinuxRuntime() { return new ArrayList<>(runtimeStackMap.keySet()); }
public RuntimeStack getLinuxRuntime() throws MojoExecutionException { // todo: add unit tests if (StringUtils.equalsIgnoreCase(javaVersion, JRE_8)) { final String fixRuntime = StringUtils.isEmpty(webContainer) ? JRE_8 : webContainer; if (runtimeStackMap.containsKey(fixRuntime)) { return runtimeStackMap.get(fixRuntime); } else { throw new MojoExecutionException( String.format("Unknown value of <webContainer>. Supported values are %s.", StringUtils.join(runtimeStackMap.keySet(), ","))); } } throw new MojoExecutionException(String.format( "Unknown value of <javaVersion>. Supported values is %s", JRE_8)); }
StringBuilder allFields = new StringBuilder(); BidiMap<Integer, String> map = cachedColumnNames.inverseBidiMap(); Iterable<Integer> keys = new TreeSet<>(map.keySet()); for(Integer i : keys){ if(!excludeGeomFields || !cachedGeomColumnNames.containsValue(i)) {