|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface PlanningVariable
Specifies that a bean property should be optimized by Drools Planner.
It is specified on a getter of a java bean property of aPlanningEntity
class.
Optional Element Summary | |
---|---|
Class<? extends PlanningVariableListener>[] |
listenerClasses
Deprecated. |
Class<? extends Comparator> |
strengthComparatorClass
Allows a collection of planning values for this variable to be sorted by strength. |
Class<? extends PlanningValueStrengthWeightFactory> |
strengthWeightFactoryClass
Allows a collection of planning values for this variable to be sorted by strength. |
boolean |
triggerChainCorrection
Deprecated. |
public abstract Class<? extends Comparator> strengthComparatorClass
strengthWeightFactoryClass()
.
PlanningVariable.NullStrengthComparator
when it is null (workaround for annotation limitation)public abstract Class<? extends PlanningValueStrengthWeightFactory> strengthWeightFactoryClass
strengthComparatorClass()
.
PlanningVariable.NullStrengthWeightFactory
when it is null (workaround for annotation limitation)PlanningValueStrengthWeightFactory
@Deprecated public abstract boolean triggerChainCorrection
@Deprecated public abstract Class<? extends PlanningVariableListener>[] listenerClasses
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |