public static final class ExecutionContext.Builder extends Object
ExecutionContext.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ExecutionContext |
build()
Builds
ExecutionContext. |
ExecutionContext.Builder |
with(Boolean ignoreOptionalDependencies)
Sets the value of whether to ignore optional dependencies
|
ExecutionContext.Builder |
with(org.apache.maven.plugin.logging.Log log)
Sets the Maven logger to log.
|
ExecutionContext.Builder |
with(ModuleMap moduleMap)
Sets the map of modules encountered so far.
|
ExecutionContext.Builder |
with(SlotStrategy slotStrategy)
Sets the slot strategy for modules.
|
ExecutionContext.Builder |
with(TransitiveDependencyResolver resolver)
Sets the resolver to determine dependencies of an artifact.
|
ExecutionContext.Builder |
withDefaultSlot(String defaultSlot)
Sets the name of the default slot to write to.
|
ExecutionContext.Builder |
withTargetFolder(File targetFolder)
Sets the folder to write the module structure to.
|
public ExecutionContext.Builder with(org.apache.maven.plugin.logging.Log log)
log - the Maven logger to log.public ExecutionContext.Builder withTargetFolder(File targetFolder)
targetFolder - the folder to write the module structure to.public ExecutionContext.Builder with(TransitiveDependencyResolver resolver)
resolver - the resolver to determine dependencies of an artifact.public ExecutionContext.Builder with(SlotStrategy slotStrategy)
slotStrategy - the slot strategy for modules.public ExecutionContext.Builder withDefaultSlot(String defaultSlot)
defaultSlot - the name of the default slot to write to.public ExecutionContext.Builder with(ModuleMap moduleMap)
moduleMap - the map of modules encountered so far.public ExecutionContext.Builder with(Boolean ignoreOptionalDependencies)
ignoreOptionalDependencies - whether optional dependencies are ignoredpublic ExecutionContext build() throws NullPointerException
ExecutionContext.NullPointerException - if any configuration property is
null.Copyright © 2013–2019 FuseSource. All rights reserved.