|
|||||||||
| 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 | |
|---|---|
MavenProject |
getProject(Class<?> klass)
Gets the specified class's Maven project. |
MavenProject |
getProject(URL url)
Gets the specified URL's Maven project. |
MavenProjectProperties |
getProjectProperties(Class<?> klass)
Gets the properties for the specified class's Maven project. |
MavenProjectProperties |
getProjectProperties(URL url)
Gets the properties for the specified URL's Maven project. |
List<MavenProject> |
getProjects(ClassLoader classLoader)
Obtains a list of Maven projects accessible from the specified class loader. |
List<MavenProjectProperties> |
getProjectsProperties(ClassLoader classLoader)
Obtains a list of basic properties for each Maven project accessible from the specified class loader. |
List<MavenProject> |
getSortedProjects(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(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(Class<?> klass)
throws MavenRuntimeException
getProjectProperties in interface MavenRuntimeklass - the class to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
public List<MavenProjectProperties> getProjectsProperties(ClassLoader classLoader)
throws MavenRuntimeException
getProjectsProperties in interface MavenRuntimeclassLoader - the class loader to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
public MavenProject getProject(URL url)
throws MavenRuntimeException
getProject in interface MavenRuntimeurl - the URL to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
public MavenProject getProject(Class<?> klass)
throws MavenRuntimeException
getProject in interface MavenRuntimeklass - the class to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
public List<MavenProject> getProjects(ClassLoader classLoader)
throws MavenRuntimeException
getProjects in interface MavenRuntimeclassLoader - the class loader to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
public List<MavenProject> getSortedProjects(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 | ||||||||