<commit_before>package net.anotheria.moskito.webui.shared.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Items in the navigation.
 *
 * @author lrosenberg.
 */
public enum NaviItem {
	/**
	 * Producers menu item.
	 */
	PRODUCERS("Producers"),
	/**
	 * Monitoring journeys navi item.
	 */
	JOURNEYS("Journeys"),
	/**
	 * Constant for action without own navigation item.
	 */
	NONE("None"),
	/**
	 * Navigation item for thresholds.
 	 */
	THRESHOLDS("Thresholds"),
	/**
	 * Navigation item for accumulators.
	 */
	ACCUMULATORS("Accumulators"),
	/**
	 * Navigation item for threads.
	 */
	THREADS("Threads"),
	/**
	 * Collections for additional items
	 */
	MORE("More"),

	THREADS_LIST("List"), THREADS_DUMP("Dump"), THREADS_HISTORY("History")
	;
	
	
	/**
	 * Current menu.
	 */
	private static ArrayList<NaviItem> menu;
	static{
		menu = new ArrayList<NaviItem>();
		menu.add(PRODUCERS);
		menu.add(THRESHOLDS);
		menu.add(JOURNEYS);
		menu.add(ACCUMULATORS);
		menu.add(THREADS);<commit_msg>added submenues<commit_after>package net.anotheria.moskito.webui.shared.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Items in the navigation.
 *
 * @author lrosenberg.
 */
public enum NaviItem {
	/**
	 * Producers menu item.
	 */
	PRODUCERS("Producers"),
	/**
	 * Monitoring journeys navi item.
	 */
	JOURNEYS("Journeys"),
	/**
	 * Constant for action without own navigation item.
	 */
	NONE("None"),
	/**
	 * Navigation item for thresholds.
 	 */
	THRESHOLDS("Thresholds"),
	/**
	 * Navigation item for accumulators.
	 */
	ACCUMULATORS("Accumulators"),
	/**
	 * Navigation item for threads.
	 */
	THREADS("Threads"),
	/**
	 * Collections for additional items
	 */
	MORE("Everything else"),

	THREADS_LIST("List"), THREADS_DUMP("Dump"), THREADS_HISTORY("History"),
	MORE_LIBS("Libs"),MORE_PLUGINS("Plugins"),MORE_CONFIG("Config"),MORE_UPDATE("Update"),MORE_MBEANS("MBeans")
	;
	
	
	/**
	 * Current menu.
	 */
	private static ArrayList<NaviItem> menu;
	static{
		menu = new ArrayList<NaviItem>();
		menu.add(PRODUCERS);
		menu.add(THRESHOLDS);
		menu.add(JOURNEYS);
		menu.add(ACCUMULATORS);
		menu.add(THREADS);
{'fraction_non_alphanumeric': 0.16300794021485288, 'fraction_numerical': 0.0, 'mean_word_length': 3.879271070615034, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2563075', 'n_tokens_mistral': 839, 'n_tokens_neox': 745, 'n_words': 142}