@Value.Immutable public static interface ProjectMergeRule.Config extends RelRule.Config
| Modifier and Type | Field and Description |
|---|---|
static ProjectMergeRule.Config |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
default int |
bloat()
Limit how much complexity can increase during merging.
|
default boolean |
force()
Whether to always merge projects, default true.
|
default ProjectMergeRule |
toRule()
Creates a rule that uses this configuration.
|
ProjectMergeRule.Config |
withBloat(int bloat)
Sets
bloat(). |
ProjectMergeRule.Config |
withForce(boolean force)
Sets
force(). |
default ProjectMergeRule.Config |
withOperandFor(Class<? extends Project> projectClass)
Defines an operand tree for the given classes.
|
as, description, operandSupplier, relBuilderFactory, withDescription, withOperandSupplier, withRelBuilderFactorystatic final ProjectMergeRule.Config DEFAULT
default ProjectMergeRule toRule()
RelRule.ConfigtoRule in interface RelRule.Config@Value.Default default int bloat()
ProjectMergeRule.DEFAULT_BLOAT (100).ProjectMergeRule.Config withBloat(int bloat)
bloat().@Value.Default default boolean force()
ProjectMergeRule.Config withForce(boolean force)
force().default ProjectMergeRule.Config withOperandFor(Class<? extends Project> projectClass)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.