|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.shared.runtime.DefaultMavenRuntime
public class DefaultMavenRuntime
Default implementation of MavenRuntime.
MavenRuntime| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.shared.runtime.MavenRuntime |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DefaultMavenRuntime()
|
|
| Method Summary | |
|---|---|
org.apache.maven.project.MavenProject |
getProject(java.lang.Class<?> klass)
Gets the specified class's Maven project. |
org.apache.maven.project.MavenProject |
getProject(java.net.URL url)
Gets the specified URL's Maven project. |
MavenProjectProperties |
getProjectProperties(java.lang.Class<?> klass)
Gets the properties for the specified class's Maven project. |
MavenProjectProperties |
getProjectProperties(java.net.URL url)
Gets the properties for the specified URL's Maven project. |
java.util.List<org.apache.maven.project.MavenProject> |
getProjects(java.lang.ClassLoader classLoader)
Obtains a list of Maven projects accessible from the specified class loader. |
java.util.List<MavenProjectProperties> |
getProjectsProperties(java.lang.ClassLoader classLoader)
Obtains a list of basic properties for each Maven project accessible from the specified class loader. |
java.util.List<org.apache.maven.project.MavenProject> |
getSortedProjects(java.lang.ClassLoader classLoader)
Obtains a list of Maven projects accessible from the specified class loader ordered by their dependencies. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMavenRuntime()
| Method Detail |
|---|
public MavenProjectProperties getProjectProperties(java.net.URL url)
throws MavenRuntimeException
getProjectProperties in interface MavenRuntimeurl - the URL to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
public MavenProjectProperties getProjectProperties(java.lang.Class<?> klass)
throws MavenRuntimeException
getProjectProperties in interface MavenRuntimeklass - the class to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
public java.util.List<MavenProjectProperties> getProjectsProperties(java.lang.ClassLoader classLoader)
throws MavenRuntimeException
getProjectsProperties in interface MavenRuntimeclassLoader - the class loader to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
public org.apache.maven.project.MavenProject getProject(java.net.URL url)
throws MavenRuntimeException
getProject in interface MavenRuntimeurl - the URL to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
public org.apache.maven.project.MavenProject getProject(java.lang.Class<?> klass)
throws MavenRuntimeException
getProject in interface MavenRuntimeklass - the class to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
public java.util.List<org.apache.maven.project.MavenProject> getProjects(java.lang.ClassLoader classLoader)
throws MavenRuntimeException
getProjects in interface MavenRuntimeclassLoader - the class loader to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
public java.util.List<org.apache.maven.project.MavenProject> getSortedProjects(java.lang.ClassLoader classLoader)
throws MavenRuntimeException
getSortedProjects in interface MavenRuntimeclassLoader - the class loader to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||