package com.yomahub.liteflow.common;

/**
 * Chain 常量
 *
 * @author tangkc
 * @author jason
 */
public interface ChainConstant {
	String PARALLEL = "parallel";

	String CHAIN = "chain";

	String ROUTE = "route";

	String BODY = "body";

	String FLOW = "flow";

	String NODES = "nodes";

	String NODE = "node";

	String ID = "id";

	String _CLASS = "class";

	String FILE = "file";

	String NAME = "name";

	String ENABLE = "enable";

	String LANGUAGE = "language";

	String NAMESPACE = "namespace";

    String THREAD_POOL_EXECUTOR_CLASS = "thread-pool-executor-class";

	String DEFAULT_NAMESPACE = "default";

	String VALUE = "value";

	String ANY = "any";

	String MUST = "must";

	String TYPE = "type";

	String THEN = "THEN";

	String WHEN = "WHEN";

	String SER = "SER";

	String PAR = "PAR";

	String SWITCH = "SWITCH";

	String PRE = "PRE";

	String FINALLY = "FINALLY";

	String IF = "IF";

	String ELSE = "ELSE";

	String ELIF = "ELIF";

	String TO = "TO";

	String TAG = "tag";

	String IGNORE_ERROR = "ignoreError";

	String THREAD_POOL = "threadPool";

	String WHILE = "WHILE";

	String FOR = "FOR";

	String DO = "DO";

	String BREAK = "BREAK";

	String DATA = "data";

	String ITERATOR = "ITERATOR";

	String MONITOR_BUS = "monitorBus";

	String CURR_CHAIN_ID = "currChainId";

	String DEFAULT = "DEFAULT";

	String CATCH = "CATCH";

	String AND = "AND";

	String OR = "OR";

	String NOT = "NOT";

	String MAX_WAIT_SECONDS = "maxWaitSeconds";

    String MAX_WAIT_MILLISECONDS = "maxWaitMilliseconds";

	String EXTENDS = "extends";

	String RETRY = "retry";

	String NODE_INSTANCE_PATH = ".node_instance_id";

	String USER_DIR = "user.dir";

	String BIND = "bind";

	String CONTEXT_SEARCH_REGEX = "^\\$\\{(.*?)\\}$";
}
