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 MavenRuntime
public String getSettings()
getSettings
in interface MavenRuntime
public boolean isEditable()
isEditable
in interface MavenRuntime
public boolean isAvailable()
isAvailable
in interface MavenRuntime
protected IMavenProjectFacade getMavenDistribution()
public void createLauncherConfiguration(IMavenLauncherConfiguration collector, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
MavenRuntime
createLauncherConfiguration
in interface MavenRuntime
org.eclipse.core.runtime.CoreException
protected void addArtifact(IMavenLauncherConfiguration collector, org.apache.maven.artifact.Artifact artifact) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public String getVersion()
getVersion
in interface MavenRuntime
Copyright © 2005–2014 Sonatype, Inc.. All rights reserved.