blob: c4bad9a873813bb7a35e329b311f9708997b23bd [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008-2010 Sonatype, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Sonatype, Inc. - initial API and implementation
*******************************************************************************/
package org.eclipse.m2e.core.embedder;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
/**
* Maven runtime
*
* @author Eugene Kuleshov
* @author Igor Fedorenko
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface MavenRuntime {
public abstract boolean isEditable();
/**
* Reads m2.conf file and notifies configuration collector of the logical content of plexus configuration. Collector
* callback methods are invoked in the order corresponding configuration elements are present in m2.conf file.
*/
public abstract void createLauncherConfiguration(IMavenLauncherConfiguration collector, IProgressMonitor monitor)
throws CoreException;
/**
* @since 1.5
*/
public abstract String getName();
public abstract String getLocation();
public abstract String getSettings();
public abstract boolean isAvailable();
public String getVersion();
}