All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.siwenyan.dish_parser.Constants Maven / Gradle / Ivy

There is a newer version: 1.25
Show newest version
package com.github.siwenyan.dish_parser;

public class Constants {
	
	public static final String SYMBOL_VAR_DELIMITER = "%";

	public static final String OUTPUT_PARAMNAME_SEPARATOR = "=";
	public static final String OUTPUT_INDENT = "  ";
	public static final String OUTPUT_LINE_SEPARATOR = ";";
	public static final String OUTPUT_FLAVOR_SEPARATOR = " ";
	public static final String OUTPUT_PARAM_SEPARATOR = " ";// ", ";
	public static final String OUTPUT_NOT_APPLICABLE = "*** Not applicable currently. ***\r\n";
	public static final String OUTPUT_LINE_BREAKER = "\r\n";
	public static final String OUTPUT_FILE_PATH_KEY = "fullPath";
	public static final String OUTPUT_PARAM_SEPARATOR1 = ":";

	public static final String KEYWORD_EXIT = "exit";
	public static final String KEYWORD_STOP = "stop";
	public static final String KEYWORD_HELP = "help";

	public static final String FEEDBACK_OK = "OK...";
	public static final String FEEDBACK_YAKI = "YAKI...";
	public static final String FEEDBACK_FAIL = "FAIL...";
	public static final String FEEDBACK_GOOD_BYE = "Good bye!";
	public static final String FEEDBACK_PENDING = "Pending...";
	public static final String FEEDBACK_DEFAULT_HELP = "Please type '" + KEYWORD_HELP
			+ "' for help.\r\nNotice: regex is supported";
	public static final String FEEDBACK_NO_SUPPLY = "No Commands.";
	public static final String FEEDBACK_NO_MORE_SUPPLY = "No more cammands.";

	public static final String DEFAULT_DRIVER_KEY = "main";
	public static final long DEFAULT_AUTO_NEXT_INTERVAL_IN_MILI_SECONDS = 3000;
	public static final String DEFAULT_CONTINUE_MARK = "continue";
	public static final String DEFAULT_BREAK_MARK = "break";
	public static final String DEFAULT_ITEM_VAR = "item";

	// reserved parameter names
	public static final String DEFAULT_KEY = "main";
	public static final String DO_WHEN_KEY = "doWhen";
	public static final String REPEAT_WHEN_KEY = "repeatWhen";
	public static final String REPEAT_EACH_KEY = "repeatEach";
	public static final String REPEAT_FOR_KEY = "repeatFor";
	public static final String REPEAT_DELAY_IN_MILLISECONDS = "repeatDelayInMilliseconds";
	public static final String ON_FAIL_KEY = "onFail";
	public static final String CONTINUE_SKIP_MARK_KEY = "continueMark";
	public static final String BREAK_SKIP_MARK_KEY = "breakMark";
	public static final String EXPORT_TO = "exportTo";
	public static final String[] RESERVED_PARAMETERS = { DEFAULT_KEY, REPEAT_EACH_KEY, REPEAT_FOR_KEY, ON_FAIL_KEY,
			CONTINUE_SKIP_MARK_KEY, BREAK_SKIP_MARK_KEY, EXPORT_TO };
	public static final String[] RESERVED_PARAMETER_PARTS = { DO_WHEN_KEY, REPEAT_WHEN_KEY };

	public static final String EXPRESSION_EQUALS = "equals";
	public static final String EXPRESSION_NOT_EQUALS = "notEquals";
	public static final String EXPRESSION_MATCHES = "matches";
	public static final String EXPRESSION_NOT_MATCHES = "notMatches";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy