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

org.codehaus.gmaven.runtime.ClassCompiler Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2006-2007 the original author or authors.
 *
 * 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 org.codehaus.gmaven.runtime;

import org.codehaus.gmaven.feature.Component;

/**
 * Groovy class compiler abstraction.
 *
 * @version $Id$
 * @author Jason Dillon
 */
public interface ClassCompiler
    extends org.codehaus.gmaven.runtime.util.Compiler, Component
{
    String KEY = ClassCompiler.class.getName();

    interface Keys
    {
        String DEBUG = "debug";

        String VERBOSE = "verbose";

        String SOURCE_ENCODING = "sourceEncoding";

        String TOLERANCE = "tolerance";

        String TARGET_BYTECODE = "targetBytecode";

        String INVOKE_DYNAMIC = "invokeDynamic";

        String SCRIPT_BASE_CLASSNAME = "scriptBaseClassname";

        String DEFAULT_SCRIPT_EXTENSION = "defaultScriptExtension";

        String WARNING_LEVEL = "warningLevel";

        String[] ALL = {
            DEBUG,
            VERBOSE,
            DEBUG,
            SOURCE_ENCODING,
            TARGET_BYTECODE,
            TOLERANCE,
            SCRIPT_BASE_CLASSNAME,
            DEFAULT_SCRIPT_EXTENSION,
            WARNING_LEVEL,
        };
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy