public class TychoProjectUtils extends Object
Constructor and Description |
---|
TychoProjectUtils() |
Modifier and Type | Method and Description |
---|---|
static TargetPlatform |
getTargetPlatform(org.apache.maven.project.MavenProject project)
Returns the
TargetPlatform instance associated with the given project. |
static TargetPlatformConfiguration |
getTargetPlatformConfiguration(org.apache.maven.project.MavenProject project)
Returns the
TargetPlatformConfiguration instance associated with the given project. |
public static TargetPlatform getTargetPlatform(org.apache.maven.project.MavenProject project) throws IllegalStateException
TargetPlatform
instance associated with the given project.project
- a Tycho projectnull
IllegalStateException
- if the given project does not have an associated target platformpublic static TargetPlatformConfiguration getTargetPlatformConfiguration(org.apache.maven.project.MavenProject project) throws IllegalStateException
TargetPlatformConfiguration
instance associated with the given project.project
- a Tycho projectnull
IllegalStateException
- if the given project does not have an associated target platform configurationCopyright © 2008-2012 Eclipse Foundation. All Rights Reserved.