<commit_before>// Copyright (C) 2012 jOVAL.org.  All rights reserved.
// This software is licensed under the LGPL 3.0 license available at http://www.gnu.org/licenses/lgpl.txt

package jsaf.intf.cisco.system;

import java.util.Collection;
import java.util.List;
import java.util.NoSuchElementException;

/**
 * An interface for accessing data from the "show tech-support" IOS command.
 *
 * @author <NAME>
 * @version %I% %G%
 * @since 1.0
 */
public interface ITechSupport {
    /**
     * The series of dashes appearing before and after descriptive section header text.
     *
     * @since 1.0
     */
    String DASHES = "------------------";

    String GLOBAL = "show running-config";

    /**
     * A list of subcommands for which information is available.
     *
     * @since 1.0
     */
    Collection<String> getShowSubcommands();

    /**
     * A complete list of all the "headings" for which information is available.  This includes all the show subcommands.
     *
     * @since 1.0
     */
    Collection<String> getHeadings();

    /**
     * Fetches the response lines associated with the given heading.
     *
     * @throws NoSuchElementException if the heading is not found.
     *
     * @since 1.0
     */
    List<String> getLines(String heading) throws NoSuchElementException;<commit_msg>Added a few commands to ITechSupport.<commit_after>// Copyright (C) 2012 jOVAL.org.  All rights reserved.
// This software is licensed under the LGPL 3.0 license available at http://www.gnu.org/licenses/lgpl.txt

package jsaf.intf.cisco.system;

import java.util.Collection;
import java.util.List;
import java.util.NoSuchElementException;

/**
 * An interface for accessing data from the "show tech-support" IOS command.
 *
 * @author <NAME>
 * @version %I% %G%
 * @since 1.0
 */
public interface ITechSupport {
    /**
     * The series of dashes appearing before and after descriptive section header text.
     *
     * @since 1.0
     */
    String DASHES = "------------------";

    /**
     * IOS command string "show running-config"
     *
     * @since 1.0
     */
    String GLOBAL = "show running-config";

    /**
     * IOS command string "show version"
     *
     * @since 1.0.2
     */
    String VERSION = "show version";

    /**
     * IOS command string "show interfaces"
     *
     * @since 1.0.2
     */
    String INTERFACES = "show interfaces";

    /**
     * A list of subcommands for which information is available.
     *
     * @since 1.0
     */
    Collection<String> getShowSubcommands();

    /**
     * A complete list of all the "headings" for which information is available.  This includes all the show subcommands.
     *
     * @since 1.0
     */
    Collection<String> getHeadings();

    /**
     * Fetches the response lines associated with the given heading.
     *
     * @throws NoSuchElementException if the heading is not found.
     *
     * @since 1.0
     */
    List<String> getLines(String heading) throws NoSuchElementException;
{'fraction_non_alphanumeric': 0.11756847027388109, 'fraction_numerical': 0.013360053440213761, 'mean_word_length': 2.391845979614949, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '2880479', 'n_tokens_mistral': 914, 'n_tokens_neox': 869, 'n_words': 289}