public class QueuedEntityPlacerConfig extends EntityPlacerConfig<QueuedEntityPlacerConfig>
Modifier and Type | Field and Description |
---|---|
protected EntitySelectorConfig |
entitySelectorConfig |
protected List<MoveSelectorConfig> |
moveSelectorConfigList |
Constructor and Description |
---|
QueuedEntityPlacerConfig() |
Modifier and Type | Method and Description |
---|---|
QueuedEntityPlacer |
buildEntityPlacer(HeuristicConfigPolicy configPolicy) |
QueuedEntityPlacerConfig |
copyConfig()
Typically implemented by constructing a new instance and calling
AbstractConfig.inherit(AbstractConfig) on it |
EntitySelectorConfig |
getEntitySelectorConfig() |
List<MoveSelectorConfig> |
getMoveSelectorConfigList() |
QueuedEntityPlacerConfig |
inherit(QueuedEntityPlacerConfig 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 |
setMoveSelectorConfigList(List<MoveSelectorConfig> moveSelectorConfigList) |
String |
toString() |
static QueuedEntityPlacerConfig |
unfoldNew(HeuristicConfigPolicy configPolicy,
List<MoveSelectorConfig> templateMoveSelectorConfigList) |
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList
protected EntitySelectorConfig entitySelectorConfig
protected List<MoveSelectorConfig> moveSelectorConfigList
public static QueuedEntityPlacerConfig unfoldNew(HeuristicConfigPolicy configPolicy, List<MoveSelectorConfig> templateMoveSelectorConfigList)
public EntitySelectorConfig getEntitySelectorConfig()
public void setEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig)
public List<MoveSelectorConfig> getMoveSelectorConfigList()
public void setMoveSelectorConfigList(List<MoveSelectorConfig> moveSelectorConfigList)
public QueuedEntityPlacer buildEntityPlacer(HeuristicConfigPolicy configPolicy)
buildEntityPlacer
in class EntityPlacerConfig<QueuedEntityPlacerConfig>
public QueuedEntityPlacerConfig inherit(QueuedEntityPlacerConfig 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<QueuedEntityPlacerConfig>
inheritedConfig
- never nullpublic QueuedEntityPlacerConfig copyConfig()
AbstractConfig
AbstractConfig.inherit(AbstractConfig)
on itcopyConfig
in class AbstractConfig<QueuedEntityPlacerConfig>
public String toString()
toString
in class AbstractConfig<QueuedEntityPlacerConfig>
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.