@Override public void saveCustomParameters (FilterConfiguration config, IParameters params) { File file; if (config.parametersLocation != null) { // In this implementation the file is stored in a given directory file = new File(customParmsDir + config.parametersLocation); params.save(file.getAbsolutePath()); } else if (config.parameters != null) { // use the configId as the file name file = new File(customParmsDir + config.configId); params.save(file.getAbsolutePath()); } }