public class ProjectConversionManager extends Object implements IProjectConversionManager
AbstractProjectConversionParticipant
contributed by 3rd party eclipse plugins.Constructor and Description |
---|
ProjectConversionManager() |
Modifier and Type | Method and Description |
---|---|
void |
convert(org.eclipse.core.resources.IProject project,
org.apache.maven.model.Model model,
org.eclipse.core.runtime.IProgressMonitor monitor)
Converts an existing Eclipse project configuration to its Maven Model counterpart
|
IProjectConversionEnabler |
getConversionEnablerForProject(org.eclipse.core.resources.IProject project)
Returns an
IProjectConversionEnabler for the project, if one exists |
List<AbstractProjectConversionParticipant> |
getConversionParticipants(org.eclipse.core.resources.IProject project)
Deprecated.
|
List<AbstractProjectConversionParticipant> |
getConversionParticipants(org.eclipse.core.resources.IProject project,
String packaging)
Returns an unmodifiable list of all
AbstractProjectConversionParticipant s applying to the given project and
packaging. |
public void convert(org.eclipse.core.resources.IProject project, org.apache.maven.model.Model model, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
IProjectConversionManager
convert
in interface IProjectConversionManager
org.eclipse.core.runtime.CoreException
@Deprecated public List<AbstractProjectConversionParticipant> getConversionParticipants(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
IProjectConversionManager
AbstractProjectConversionParticipant
s applying to the given project.
Packaging restrictions on AbstractProjectConversionParticipant
s will be ignored.getConversionParticipants
in interface IProjectConversionManager
org.eclipse.core.runtime.CoreException
public List<AbstractProjectConversionParticipant> getConversionParticipants(org.eclipse.core.resources.IProject project, String packaging) throws org.eclipse.core.runtime.CoreException
IProjectConversionManager
AbstractProjectConversionParticipant
s applying to the given project and
packaging.getConversionParticipants
in interface IProjectConversionManager
org.eclipse.core.runtime.CoreException
public IProjectConversionEnabler getConversionEnablerForProject(org.eclipse.core.resources.IProject project)
IProjectConversionManager
IProjectConversionEnabler
for the project, if one existsgetConversionEnablerForProject
in interface IProjectConversionManager
IProjectConversionEnabler
for the project, or null if one cannot be found.Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.