//----------------------------BEGIN LICENSE----------------------------
/* 
 * Willow : the Open Source WorkFlow Project
 * Distributable under GNU LGPL license by gun.org
 *
 * Copyright (C) 2004-2010 huihoo.org 
 * Copyright (C) 2004-2010  ZosaTapo <dertyang@hotmail.com> 
 * 
 * ====================================================================
 * Project Homepage : http://www.huihoo.org/willow
 * Source Forge     : http://sourceforge.net/projects/huihoo
 * Mailing list     : willow@lists.sourceforge.net 
 */
//----------------------------END  LICENSE-----------------------------

package org.huihoo.workflow.script;

public class Constants
{

	public static final String RESOURCE_BUNDLE_BASE = "org.huihoo.workflow.script";

	public static final String SCRIPT_BASE_CLASS = "org.huihoo.workflow.script.runtime.SelectorScriptBase";

	public static final String EVALUTE_METHOD_NAME = "__scriptEvalute";

	public static final String[] STANDARD_IMPORTS =
		{
			"java.io.*",
			"org.huihoo.workflow.*",
			"org.huihoo.workflow.event.*",
			"org.huihoo.workflow.selector.*",
			"org.huihoo.workflow.server.*",
			"org.huihoo.workflow.store.*",
			"org.huihoo.workflow.usermodel.*",
			"org.huihoo.workflow.util.*",
			"org.huihoo.workflow.xpdl.*",
			"org.huihoo.workflow.xpdl.activity.*",
			"org.huihoo.workflow.xpdl.condition.*",
			"org.huihoo.workflow.xpdl.parameter.*",
			"org.huihoo.workflow.xpdl.parser.*",
			"org.huihoo.workflow.xpdl.serializer.*",
			"org.huihoo.workflow.xpdl.util.*",
			};

	/**
	 * WorkflowContext attribute for classpath. 
	 */
	public static final String SCRIPT_CLASS_PATH = "willow.script_classpath";

	/**
	 * WorkflowContext attribute for class loader.
	 */
	public static final String SCRIPT_CLASS_LOADER = "willow.script_classloader";

	/**
	 * WorkflowContext attribute for work dir File Object.
	 */
	public static final String SCRIPT_SCRATCH_DIR = "willow.script_scratchdir";

	/**
	 * The default package name for compiled script classes.
	 */
	public static final String SCRIPT_PACKAGE_NAME = "org.huihoo.workflow.script";

	/**
	 * Prefix to use for generated temporary variable names
	 */
	public static final String TEMP_VARIABLE_NAME_PREFIX = "_script_temp";

	/**
	 * Default size of the Java buffer.
	 */
	public static final int K = 1024;
	public static final int DEFAULT_BUFFER_SIZE = 8 * K;
}
