|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MavenRuntime
Provides methods to introspect the current Maven runtime environment.
| Field Summary | |
|---|---|
static String |
ROLE
The Plexus role for this component. |
| 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. |
| Field Detail |
|---|
static final String ROLE
| Method Detail |
|---|
MavenProjectProperties getProjectProperties(URL url)
throws MavenRuntimeException
url - the URL to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
MavenProjectProperties getProjectProperties(Class<?> klass)
throws MavenRuntimeException
klass - the class to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
List<MavenProjectProperties> getProjectsProperties(ClassLoader classLoader)
throws MavenRuntimeException
classLoader - the class loader to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
MavenProject getProject(URL url)
throws MavenRuntimeException
url - the URL to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
MavenProject getProject(Class<?> klass)
throws MavenRuntimeException
klass - the class to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
List<MavenProject> getProjects(ClassLoader classLoader)
throws MavenRuntimeException
classLoader - the class loader to introspect
MavenRuntimeException - if an error occurred introspecting the Maven runtime environment
List<MavenProject> getSortedProjects(ClassLoader classLoader)
throws MavenRuntimeException
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 | ||||||||