public class SubChainSelectorConfig extends SelectorConfig<SubChainSelectorConfig>
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) |
SubChainSelectorConfig |
copyConfig()
Typically implemented by constructing a new instance and calling
AbstractConfig.inherit(AbstractConfig) on it |
Integer |
getMaximumSubChainSize() |
Integer |
getMinimumSubChainSize() |
ValueSelectorConfig |
getValueSelectorConfig() |
SubChainSelectorConfig |
inherit(SubChainSelectorConfig 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 |
setMaximumSubChainSize(Integer maximumSubChainSize) |
void |
setMinimumSubChainSize(Integer minimumSubChainSize) |
void |
setValueSelectorConfig(ValueSelectorConfig valueSelectorConfig) |
String |
toString() |
validateCacheTypeVersusSelectionOrder
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList
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 SubChainSelectorConfig inherit(SubChainSelectorConfig 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<SubChainSelectorConfig>
inheritedConfig
- never nullpublic SubChainSelectorConfig copyConfig()
AbstractConfig
AbstractConfig.inherit(AbstractConfig)
on itcopyConfig
in class AbstractConfig<SubChainSelectorConfig>
public String toString()
toString
in class AbstractConfig<SubChainSelectorConfig>
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.