OptaPlanner distribution 6.2.0.CR4

org.optaplanner.core.impl.domain.variable.custom
Class CustomShadowVariableDescriptor

java.lang.Object
  extended by org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptor
      extended by org.optaplanner.core.impl.domain.variable.descriptor.ShadowVariableDescriptor
          extended by org.optaplanner.core.impl.domain.variable.custom.CustomShadowVariableDescriptor

public class CustomShadowVariableDescriptor
extends ShadowVariableDescriptor


Field Summary
protected  List<VariableDescriptor> sourceVariableDescriptorList
           
protected  Class<? extends VariableListener> variableListenerClass
           
 
Fields inherited from class org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptor
entityDescriptor, variableName, variablePropertyAccessor
 
Constructor Summary
CustomShadowVariableDescriptor(EntityDescriptor entityDescriptor, PropertyDescriptor propertyDescriptor)
           
 
Method Summary
 VariableListener buildVariableListener(InnerScoreDirector scoreDirector)
           
 Demand getProvidedDemand()
           
 void linkShadowSources(DescriptorPolicy descriptorPolicy)
           
 void processAnnotations(DescriptorPolicy descriptorPolicy)
           
 
Methods inherited from class org.optaplanner.core.impl.domain.variable.descriptor.VariableDescriptor
getEntityDescriptor, getShadowVariableDescriptorList, getSimpleEntityAndVariableName, getValue, getVariableName, getVariablePropertyType, registerShadowVariableDescriptor, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

variableListenerClass

protected Class<? extends VariableListener> variableListenerClass

sourceVariableDescriptorList

protected List<VariableDescriptor> sourceVariableDescriptorList
Constructor Detail

CustomShadowVariableDescriptor

public CustomShadowVariableDescriptor(EntityDescriptor entityDescriptor,
                                      PropertyDescriptor propertyDescriptor)
Method Detail

processAnnotations

public void processAnnotations(DescriptorPolicy descriptorPolicy)
Specified by:
processAnnotations in class ShadowVariableDescriptor

linkShadowSources

public void linkShadowSources(DescriptorPolicy descriptorPolicy)
Specified by:
linkShadowSources in class ShadowVariableDescriptor

getProvidedDemand

public Demand getProvidedDemand()
Specified by:
getProvidedDemand in class ShadowVariableDescriptor
Returns:
never null

buildVariableListener

public VariableListener buildVariableListener(InnerScoreDirector scoreDirector)
Specified by:
buildVariableListener in class ShadowVariableDescriptor
Parameters:
scoreDirector - never null
Returns:
never null

OptaPlanner distribution 6.2.0.CR4

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.