public abstract class AbstractWorkspaceRuntime extends Object implements MavenRuntime
| Constructor and Description |
|---|
AbstractWorkspaceRuntime(IMavenProjectRegistry projectManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addArtifact(IMavenLauncherConfiguration collector,
org.apache.maven.artifact.Artifact artifact) |
void |
createLauncherConfiguration(IMavenLauncherConfiguration collector,
org.eclipse.core.runtime.IProgressMonitor monitor)
Reads m2.conf file and notifies configuration collector of the logical content of plexus configuration.
|
protected abstract ArtifactKey |
getDistributionArtifactKey() |
String |
getLocation() |
protected abstract String |
getMainClass() |
protected IMavenProjectFacade |
getMavenDistribution() |
String |
getSettings() |
String |
getVersion() |
boolean |
isAvailable() |
boolean |
isEditable() |
String |
toString() |
public AbstractWorkspaceRuntime(IMavenProjectRegistry projectManager)
protected abstract ArtifactKey getDistributionArtifactKey()
protected abstract String getMainClass()
public String getLocation()
getLocation in interface MavenRuntimepublic String getSettings()
getSettings in interface MavenRuntimepublic boolean isEditable()
isEditable in interface MavenRuntimepublic boolean isAvailable()
isAvailable in interface MavenRuntimeprotected IMavenProjectFacade getMavenDistribution()
public void createLauncherConfiguration(IMavenLauncherConfiguration collector, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
MavenRuntimecreateLauncherConfiguration in interface MavenRuntimeorg.eclipse.core.runtime.CoreExceptionprotected void addArtifact(IMavenLauncherConfiguration collector, org.apache.maven.artifact.Artifact artifact) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionpublic String getVersion()
getVersion in interface MavenRuntimeCopyright © 2005–2013 Sonatype, Inc.. All rights reserved.