/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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 org.apache.camel.language.simple.springboot;

import org.apache.camel.spring.boot.LanguageConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Evaluates a Camel simple expression.
 * 
 * Generated by camel-package-maven-plugin - do not edit this file!
 */
@ConfigurationProperties(prefix = "camel.language.simple")
public class SimpleLanguageConfiguration
        extends
            LanguageConfigurationPropertiesCommon {

    /**
     * Whether to enable auto configuration of the simple language. This is
     * enabled by default.
     */
    private Boolean enabled;
    /**
     * Whether to trim the returned values when this language are in use. For
     * example the output result may contain unwanted line breaks at the
     * beginning and end such as when using Java DSL with multi-line blocks. Is
     * default false to be backwards compatible with existing behavior.
     */
    private Boolean trimResult = false;
    /**
     * To pretty format the output (only JSon or XML supported)
     */
    private Boolean pretty = false;
    /**
     * If the result is a nested simple expression should this expression be
     * evaluated as well
     */
    private Boolean nested = false;
    /**
     * Whether to trim the source code to remove leading and trailing
     * whitespaces and line breaks. For example when using DSLs where the source
     * will span across multiple lines and there may be additional line breaks
     * at both the beginning and end.
     */
    private Boolean trim = true;

    public Boolean getTrimResult() {
        return trimResult;
    }

    public void setTrimResult(Boolean trimResult) {
        this.trimResult = trimResult;
    }

    public Boolean getPretty() {
        return pretty;
    }

    public void setPretty(Boolean pretty) {
        this.pretty = pretty;
    }

    public Boolean getNested() {
        return nested;
    }

    public void setNested(Boolean nested) {
        this.nested = nested;
    }

    public Boolean getTrim() {
        return trim;
    }

    public void setTrim(Boolean trim) {
        this.trim = trim;
    }
}