Interface SourcedVariableListener<Entity_>
-
- All Superinterfaces:
AutoCloseable,Closeable,StatefulVariableListener<Entity_>,Supply,VariableListener<Entity_>,VariableListener<Entity_>
- All Known Implementing Classes:
ExternalizedAnchorVariableSupply,ExternalizedCollectionInverseVariableSupply,ExternalizedSingletonInverseVariableSupply
public interface SourcedVariableListener<Entity_> extends StatefulVariableListener<Entity_>
Often used to externalize data for aSupplyfrom the domain model itself.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VariableDescriptorgetSourceVariableDescriptor()-
Methods inherited from interface org.optaplanner.core.impl.domain.variable.listener.StatefulVariableListener
clearWorkingSolution, resetWorkingSolution
-
Methods inherited from interface org.optaplanner.core.api.domain.variable.VariableListener
close
-
Methods inherited from interface org.optaplanner.core.impl.domain.variable.listener.VariableListener
afterEntityAdded, afterEntityRemoved, afterVariableChanged, beforeEntityAdded, beforeEntityRemoved, beforeVariableChanged, requiresUniqueEntityEvents
-
-
-
-
Method Detail
-
getSourceVariableDescriptor
VariableDescriptor getSourceVariableDescriptor()
- Specified by:
getSourceVariableDescriptorin interfaceStatefulVariableListener<Entity_>
-
-