public Set<String> getServerFeatures(File serverDirectory) {
        Set<String> result = getConfigDropinsFeatures(null, serverDirectory, "defaults");
        result = getServerXmlFeatures(result, new File(serverDirectory, "server.xml"), null);
        // add the overrides at the end since they should not be replaced by any previous content
        return getConfigDropinsFeatures(result, serverDirectory, "overrides");
    }
public Set<String> getServerFeatures(File serverDirectory) {
        Set<String> result = getConfigDropinsFeatures(null, serverDirectory, "defaults");
        result = getServerXmlFeatures(result, new File(serverDirectory, "server.xml"), null);
        
        return getConfigDropinsFeatures(result, serverDirectory, "overrides");
    }
public Set < String > getServerFeatures ( File serverDirectory ) { Set < String > result = getConfigDropinsFeatures ( null , serverDirectory , "defaults" ) ; result = getServerXmlFeatures ( result , new File ( serverDirectory , "server.xml" ) , null ) ; // add the overrides at the end since they should not be replaced by any previous content return getConfigDropinsFeatures ( result , serverDirectory , "overrides" ) ; }
Get the set of features defined in the server.xml
@param serverDirectory The server directory containing the server.xml
@return the set of features that should be installed from server.xml, or empty set if nothing should be installed
Get the set of features defined in the server . xml