public final class ExecutionContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ExecutionContext.Builder
Builds
ExecutionContext. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultSlot()
Returns the name of the default slot to write to.
|
org.apache.maven.plugin.logging.Log |
getLog()
Returns the Maven logger to log.
|
ModuleDescriptor |
getModule(org.eclipse.aether.graph.Dependency dependency)
Returns the module for the given dependency.
|
ModuleMap |
getModuleMap()
Returns the map of modules encountered so far.
|
TransitiveDependencyResolver |
getResolver()
Returns the resolver for dependencies for an artifact.
|
SlotStrategy |
getSlotStrategy()
Returns the slot strategy for modules.
|
File |
getTargetFolder()
Returns the folder to write the module structure to.
|
Boolean |
isIgnoreOptionalDependencies()
Returns whether optional dependencies should be ignored.
|
List<org.eclipse.aether.graph.Dependency> |
resolve(org.eclipse.aether.graph.Dependency dependency)
Resolves the direct dependencies for the given dependency.
|
public org.apache.maven.plugin.logging.Log getLog()
public File getTargetFolder()
public TransitiveDependencyResolver getResolver()
public SlotStrategy getSlotStrategy()
public String getDefaultSlot()
public ModuleMap getModuleMap()
public Boolean isIgnoreOptionalDependencies()
public List<org.eclipse.aether.graph.Dependency> resolve(org.eclipse.aether.graph.Dependency dependency)
dependency - the dependency whose calculation of direct dependencies
is requested.public ModuleDescriptor getModule(org.eclipse.aether.graph.Dependency dependency) throws IllegalArgumentException
dependency - the dependency whose module is requested.IllegalArgumentException - if there is no module registered for the
given dependency.Copyright © 2013–2019 FuseSource. All rights reserved.