public static final class ExecutionContext.Builder
extends java.lang.Object
ExecutionContext.| Constructor and Description |
|---|
ExecutionContext.Builder() |
| Modifier and Type | Method and Description |
|---|---|
ExecutionContext |
build()
Builds
ExecutionContext. |
ExecutionContext.Builder |
with(java.lang.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(java.lang.String defaultSlot)
Sets the name of the default slot to write to.
|
ExecutionContext.Builder |
withTargetFolder(java.io.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(java.io.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(java.lang.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(java.lang.Boolean ignoreOptionalDependencies)
ignoreOptionalDependencies - whether optional dependencies are ignoredpublic ExecutionContext build() throws java.lang.NullPointerException
ExecutionContext.java.lang.NullPointerException - if any configuration property is
null.Copyright © 2013-2016 FuseSource. All Rights Reserved.