<commit_before>/*
 * Copyright © 2015 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

package co.cask.cdap.config;

import java.util.List;

/**
 * Configuration Store.
 */
public interface ConfigStore {

  /**
   * Create a Configuration.
   * @param namespace Namespace.
   * @param type Configuration Type.
   * @param config Configuration Object.
   * @throws Exception
   */
  void create(String namespace, String type, Config config) throws Exception;

  /**
   * Delete a Configuration.
   * @param namespace Namespace.
   * @param type Configuration Type.
   * @param id Name of the Configuration.
   * @throws Exception
   */
  void delete(String namespace, String type, String id) throws Exception;

  /**
   * List all Configurations which are of a specific type.
   * @param namespace Namespace.
   * @param type Configuration Type.
   * @return List of {@link Config} objects.
   * @throws Exception
   */
  List<Config> list(String namespace, String type) throws Exception;

  /**
   * Read a Configuration.
   * @param namespace Namespace.
   * @param type Configuration Type.
   * @param id Name of the Configuration.
   * @return {@link Config}
   * @throws Exception
   */
  Config get(String namespace, String type, String id) throws Exception;

  /**
   * Update a Configuration.
   * @param namespace Namespace.
   * @param type Configuration Type.
   * @param config {@link Config}
   * @throws Exception
   */
  void update(String namespace, String type, Config config) throws Exception;
}<commit_msg>Fix javadoc formatting<commit_after>/*
 * Copyright © 2015 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

package co.cask.cdap.config;

import java.util.List;

/**
 * Configuration Store.
 */
public interface ConfigStore {

  /**
   * Create a Configuration.
   * @param namespace namespace
   * @param type configuration type
   * @param config configuration object
   * @throws Exception
   */
  void create(String namespace, String type, Config config) throws Exception;

  /**
   * Delete a Configuration.
   * @param namespace namespace
   * @param type configuration type
   * @param id name of the configuration
   * @throws Exception
   */
  void delete(String namespace, String type, String id) throws Exception;

  /**
   * List all Configurations which are of a specific type.
   * @param namespace namespace
   * @param type configuration type
   * @return list of {@link Config} objects
   * @throws Exception
   */
  List<Config> list(String namespace, String type) throws Exception;

  /**
   * Read a Configuration.
   * @param namespace namespace
   * @param type configuration type
   * @param id name of the configuration
   * @return {@link Config}
   * @throws Exception
   */
  Config get(String namespace, String type, String id) throws Exception;

  /**
   * Update a Configuration.
   * @param namespace namespace
   * @param type configuration type
   * @param config {@link Config}
   * @throws Exception
   */
  void update(String namespace, String type, Config config) throws Exception;
}
{'fraction_non_alphanumeric': 0.08888888888888889, 'fraction_numerical': 0.003907203907203907, 'mean_word_length': 3.362087326943557, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2143213', 'n_tokens_mistral': 1072, 'n_tokens_neox': 1047, 'n_words': 466}