public class PillarSelectorConfig extends SelectorConfig<PillarSelectorConfig>
Modifier and Type | Field and Description |
---|---|
protected EntitySelectorConfig |
entitySelectorConfig |
protected Integer |
maximumSubPillarSize |
protected Integer |
minimumSubPillarSize |
protected Boolean |
subPillarEnabled |
Constructor and Description |
---|
PillarSelectorConfig() |
Modifier and Type | Method and Description |
---|---|
PillarSelector |
buildPillarSelector(HeuristicConfigPolicy configPolicy,
SelectionCacheType minimumCacheType,
SelectionOrder inheritedSelectionOrder,
List<String> variableNameIncludeList) |
EntitySelectorConfig |
getEntitySelectorConfig() |
Integer |
getMaximumSubPillarSize() |
Integer |
getMinimumSubPillarSize() |
Boolean |
getSubPillarEnabled() |
void |
inherit(PillarSelectorConfig inheritedConfig)
Inherits each property of the
inheritedConfig unless that property (or a semantic alternative)
is defined by this instance (which overwrites the inherited behaviour). |
void |
setEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig) |
void |
setMaximumSubPillarSize(Integer maximumSubPillarSize) |
void |
setMinimumSubPillarSize(Integer minimumSubPillarSize) |
void |
setSubPillarEnabled(Boolean subPillarEnabled) |
String |
toString() |
validateCacheTypeVersusSelectionOrder
copyConfig, deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, newInstance
protected EntitySelectorConfig entitySelectorConfig
protected Boolean subPillarEnabled
protected Integer minimumSubPillarSize
protected Integer maximumSubPillarSize
public EntitySelectorConfig getEntitySelectorConfig()
public void setEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig)
public Boolean getSubPillarEnabled()
public void setSubPillarEnabled(Boolean subPillarEnabled)
public Integer getMinimumSubPillarSize()
public void setMinimumSubPillarSize(Integer minimumSubPillarSize)
public Integer getMaximumSubPillarSize()
public void setMaximumSubPillarSize(Integer maximumSubPillarSize)
public PillarSelector buildPillarSelector(HeuristicConfigPolicy configPolicy, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder, List<String> variableNameIncludeList)
configPolicy
- never nullminimumCacheType
- never null, If caching is used (different from SelectionCacheType.JUST_IN_TIME
),
then it should be at least this SelectionCacheType
because an ancestor already uses such caching
and less would be pointless.inheritedSelectionOrder
- never nullvariableNameIncludeList
- sometimes nullpublic void inherit(PillarSelectorConfig inheritedConfig)
AbstractConfig
inheritedConfig
unless that property (or a semantic alternative)
is defined by this instance (which overwrites the inherited behaviour).
After the inheritance, if a property on this AbstractConfig
composition is replaced,
it should not affect the inherited composition instance.
inherit
in class SelectorConfig<PillarSelectorConfig>
inheritedConfig
- never nullpublic String toString()
toString
in class AbstractConfig<PillarSelectorConfig>
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.