public class SubChainSelectorConfig extends SelectorConfig
Modifier and Type | Field and Description |
---|---|
protected Integer |
maximumSubChainSize |
protected Integer |
minimumSubChainSize |
protected ValueSelectorConfig |
valueSelectorConfig |
Constructor and Description |
---|
SubChainSelectorConfig() |
Modifier and Type | Method and Description |
---|---|
SubChainSelector |
buildSubChainSelector(HeuristicConfigPolicy configPolicy,
EntityDescriptor entityDescriptor,
SelectionCacheType minimumCacheType,
SelectionOrder inheritedSelectionOrder) |
Integer |
getMaximumSubChainSize() |
Integer |
getMinimumSubChainSize() |
ValueSelectorConfig |
getValueSelectorConfig() |
void |
inherit(SubChainSelectorConfig inheritedConfig) |
void |
setMaximumSubChainSize(Integer maximumSubChainSize) |
void |
setMinimumSubChainSize(Integer minimumSubChainSize) |
void |
setValueSelectorConfig(ValueSelectorConfig valueSelectorConfig) |
String |
toString() |
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, inherit, validateCacheTypeVersusSelectionOrder
protected ValueSelectorConfig valueSelectorConfig
protected Integer minimumSubChainSize
protected Integer maximumSubChainSize
public ValueSelectorConfig getValueSelectorConfig()
public void setValueSelectorConfig(ValueSelectorConfig valueSelectorConfig)
public Integer getMinimumSubChainSize()
public void setMinimumSubChainSize(Integer minimumSubChainSize)
public Integer getMaximumSubChainSize()
public void setMaximumSubChainSize(Integer maximumSubChainSize)
public SubChainSelector buildSubChainSelector(HeuristicConfigPolicy configPolicy, EntityDescriptor entityDescriptor, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder)
configPolicy
- never nullentityDescriptor
- 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 nullpublic void inherit(SubChainSelectorConfig inheritedConfig)
public String toString()
toString
in class SelectorConfig
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.