public class MavenEnricherContext extends Object implements EnricherContext
| Modifier and Type | Class and Description |
|---|---|
static class |
MavenEnricherContext.Builder |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getConfiguration()
The configuration specific to the enricher.
|
List<Dependency> |
getDependencies(boolean transitive)
Gets dependencies defined in build tool
|
GroupArtifactVersion |
getGav()
Get the current artifact with its parameters
|
io.fabric8.maven.docker.util.Logger |
getLog()
Get Logger.
|
OpenShiftDependencyResources |
getOpenshiftDependencyResources() |
org.apache.maven.project.MavenProject |
getProject() |
ProjectClassLoaders |
getProjectClassLoaders()
Get various class loaders used in the projects
|
File |
getProjectDirectory()
Base directory of the project.
|
boolean |
hasPlugin(String groupId,
String artifactId)
Check if a given plugin is present
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependencyVersion, hasDependencypublic Configuration getConfiguration()
EnricherContextgetConfiguration in interface EnricherContextpublic io.fabric8.maven.docker.util.Logger getLog()
EnricherContextgetLog in interface EnricherContextpublic OpenShiftDependencyResources getOpenshiftDependencyResources()
getOpenshiftDependencyResources in interface EnricherContextpublic GroupArtifactVersion getGav()
EnricherContextgetGav in interface EnricherContextpublic File getProjectDirectory()
EnricherContextgetProjectDirectory in interface EnricherContextpublic List<Dependency> getDependencies(boolean transitive)
EnricherContextgetDependencies in interface EnricherContexttransitive - if transitive deps should be returned.public boolean hasPlugin(String groupId, String artifactId)
EnricherContexthasPlugin in interface EnricherContextgroupId - group id of plugin to check. If null any group will be considered.artifactId - of plugin to checkpublic ProjectClassLoaders getProjectClassLoaders()
EnricherContextgetProjectClassLoaders in interface EnricherContextpublic org.apache.maven.project.MavenProject getProject()
Copyright © 2018. All rights reserved.