/**
 * Copyright 2008-2017 Juho Jeong
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.aspectran.core.context.builder.apon.params;

import com.aspectran.core.context.rule.type.DefaultSettingType;
import com.aspectran.core.util.apon.AbstractParameters;
import com.aspectran.core.util.apon.ParameterDefinition;
import com.aspectran.core.util.apon.ParameterValueType;

public class DefaultSettingsParameters extends AbstractParameters {

	public static final ParameterDefinition transletNamePattern;
	public static final ParameterDefinition transletNamePrefix;
	public static final ParameterDefinition transletNameSuffix;
	public static final ParameterDefinition transletInterfaceClass;
	public static final ParameterDefinition transletImplementationClass;
	public static final ParameterDefinition beanProxifier;
	public static final ParameterDefinition pointcutPatternVerifiable;
	public static final ParameterDefinition defaultTemplateEngine;
	
	private static final ParameterDefinition[] parameterDefinitions;
	
	static {
		transletNamePattern = new ParameterDefinition(DefaultSettingType.TRANSLET_NAME_PATTERN.toString(), ParameterValueType.STRING);
		transletNamePrefix = new ParameterDefinition(DefaultSettingType.TRANSLET_NAME_PREFIX.toString(), ParameterValueType.STRING);
		transletNameSuffix = new ParameterDefinition(DefaultSettingType.TRANSLET_NAME_SUFFIX.toString(), ParameterValueType.STRING);
		transletInterfaceClass = new ParameterDefinition(DefaultSettingType.TRANSLET_INTERFACE_CLASS.toString(), ParameterValueType.STRING);
		transletImplementationClass = new ParameterDefinition(DefaultSettingType.TRANSLET_IMPLEMENTATION_CLASS.toString(), ParameterValueType.STRING);
		beanProxifier = new ParameterDefinition(DefaultSettingType.BEAN_PROXIFIER.toString(), ParameterValueType.STRING);
		pointcutPatternVerifiable = new ParameterDefinition(DefaultSettingType.POINTCUT_PATTERN_VERIFIABLE.toString(), ParameterValueType.STRING);
		defaultTemplateEngine = new ParameterDefinition(DefaultSettingType.DEFAULT_TEMPLATE_ENGINE.toString(), ParameterValueType.STRING);
		
		parameterDefinitions = new ParameterDefinition[] {
			transletNamePattern,
			transletNamePrefix,
			transletNameSuffix,
			transletInterfaceClass,
			transletImplementationClass,
			beanProxifier,
			pointcutPatternVerifiable,
			defaultTemplateEngine
		};
	}
	
	public DefaultSettingsParameters() {
		super(parameterDefinitions);
	}
	
	public DefaultSettingsParameters(String text) {
		super(parameterDefinitions, text);
	}
	
}

/**
 * Copyright 2008-2017 Juho Jeong
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.aspectran.core.context.builder.apon.params;

import com.aspectran.core.context.rule.type.DefaultSettingType;
import com.aspectran.core.util.apon.AbstractParameters;
import com.aspectran.core.util.apon.ParameterDefinition;
import com.aspectran.core.util.apon.ParameterValueType;

public class DefaultSettingsParameters extends AbstractParameters {

	public static final ParameterDefinition transletNamePattern;
	public static final ParameterDefinition transletNamePrefix;
	public static final ParameterDefinition transletNameSuffix;
	public static final ParameterDefinition transletInterfaceClass;
	public static final ParameterDefinition transletImplementationClass;
	public static final ParameterDefinition beanProxifier;
	public static final ParameterDefinition pointcutPatternVerifiable;
	public static final ParameterDefinition defaultTemplateEngine;
	public static final ParameterDefinition defaultSchedulerBean;

	private static final ParameterDefinition[] parameterDefinitions;
	
	static {
		transletNamePattern = new ParameterDefinition(DefaultSettingType.TRANSLET_NAME_PATTERN.toString(), ParameterValueType.STRING);
		transletNamePrefix = new ParameterDefinition(DefaultSettingType.TRANSLET_NAME_PREFIX.toString(), ParameterValueType.STRING);
		transletNameSuffix = new ParameterDefinition(DefaultSettingType.TRANSLET_NAME_SUFFIX.toString(), ParameterValueType.STRING);
		transletInterfaceClass = new ParameterDefinition(DefaultSettingType.TRANSLET_INTERFACE_CLASS.toString(), ParameterValueType.STRING);
		transletImplementationClass = new ParameterDefinition(DefaultSettingType.TRANSLET_IMPLEMENTATION_CLASS.toString(), ParameterValueType.STRING);
		beanProxifier = new ParameterDefinition(DefaultSettingType.BEAN_PROXIFIER.toString(), ParameterValueType.STRING);
		pointcutPatternVerifiable = new ParameterDefinition(DefaultSettingType.POINTCUT_PATTERN_VERIFIABLE.toString(), ParameterValueType.STRING);
		defaultTemplateEngine = new ParameterDefinition(DefaultSettingType.DEFAULT_TEMPLATE_ENGINE.toString(), ParameterValueType.STRING);
		defaultSchedulerBean = new ParameterDefinition(DefaultSettingType.DEFAULT_SCHEDULER_BEAN.toString(), ParameterValueType.STRING);

		parameterDefinitions = new ParameterDefinition[] {
			transletNamePattern,
			transletNamePrefix,
			transletNameSuffix,
			transletInterfaceClass,
			transletImplementationClass,
			beanProxifier,
			pointcutPatternVerifiable,
			defaultTemplateEngine,
			defaultSchedulerBean
		};
	}
	
	public DefaultSettingsParameters() {
		super(parameterDefinitions);
	}
	
	public DefaultSettingsParameters(String text) {
		super(parameterDefinitions, text);
	}
	
}

Add defaultSchedulerBean