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,
SubPillarType subPillarType,
Class<? extends Comparator> subPillarSequenceComparatorClass,
SelectionCacheType minimumCacheType,
SelectionOrder inheritedSelectionOrder,
List<String> variableNameIncludeList) |
PillarSelectorConfig |
copyConfig()
Typically implemented by constructing a new instance and calling
AbstractConfig.inherit(AbstractConfig) on it |
EntitySelectorConfig |
getEntitySelectorConfig() |
Integer |
getMaximumSubPillarSize() |
Integer |
getMinimumSubPillarSize() |
Boolean |
getSubPillarEnabled()
Deprecated.
in favor of SubPillarType
|
PillarSelectorConfig |
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)
Deprecated.
in favor of SubPillarType
|
String |
toString() |
validateCacheTypeVersusSelectionOrder
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList
protected EntitySelectorConfig entitySelectorConfig
protected Boolean subPillarEnabled
protected Integer minimumSubPillarSize
protected Integer maximumSubPillarSize
public EntitySelectorConfig getEntitySelectorConfig()
public void setEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig)
@Deprecated public Boolean getSubPillarEnabled()
and its uses in pillar move selectors.
@Deprecated public void setSubPillarEnabled(Boolean subPillarEnabled)
subPillarEnabled
- true to enable, false to disable, null to leave unset.and its uses in pillar move selectors.
public Integer getMinimumSubPillarSize()
public void setMinimumSubPillarSize(Integer minimumSubPillarSize)
public Integer getMaximumSubPillarSize()
public void setMaximumSubPillarSize(Integer maximumSubPillarSize)
public PillarSelector buildPillarSelector(HeuristicConfigPolicy configPolicy, SubPillarType subPillarType, Class<? extends Comparator> subPillarSequenceComparatorClass, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder, List<String> variableNameIncludeList)
configPolicy
- never nullsubPillarType
- if null, defaults to SubPillarType.ALL
for backwards compatibility reasons.subPillarSequenceComparatorClass
- if not null, will force entites in the pillar to come in this orderminimumCacheType
- 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 PillarSelectorConfig 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 AbstractConfig<PillarSelectorConfig>
inheritedConfig
- never nullpublic PillarSelectorConfig copyConfig()
AbstractConfig
AbstractConfig.inherit(AbstractConfig)
on itcopyConfig
in class AbstractConfig<PillarSelectorConfig>
public String toString()
toString
in class AbstractConfig<PillarSelectorConfig>
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.