|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 MavenRuntime
url
- the URL to introspect
MavenRuntimeException
- if an error occurred introspecting the Maven runtime environmentpublic MavenProjectProperties getProjectProperties(Class<?> klass) throws MavenRuntimeException
getProjectProperties
in interface MavenRuntime
klass
- the class to introspect
MavenRuntimeException
- if an error occurred introspecting the Maven runtime environmentpublic List<MavenProjectProperties> getProjectsProperties(ClassLoader classLoader) throws MavenRuntimeException
getProjectsProperties
in interface MavenRuntime
classLoader
- the class loader to introspect
MavenRuntimeException
- if an error occurred introspecting the Maven runtime environmentpublic MavenProject getProject(URL url) throws MavenRuntimeException
getProject
in interface MavenRuntime
url
- the URL to introspect
MavenRuntimeException
- if an error occurred introspecting the Maven runtime environmentpublic MavenProject getProject(Class<?> klass) throws MavenRuntimeException
getProject
in interface MavenRuntime
klass
- the class to introspect
MavenRuntimeException
- if an error occurred introspecting the Maven runtime environmentpublic List<MavenProject> getProjects(ClassLoader classLoader) throws MavenRuntimeException
getProjects
in interface MavenRuntime
classLoader
- the class loader to introspect
MavenRuntimeException
- if an error occurred introspecting the Maven runtime environmentpublic List<MavenProject> getSortedProjects(ClassLoader classLoader) throws MavenRuntimeException
getSortedProjects
in interface MavenRuntime
classLoader
- 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 |