|
||||||||||
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 a class with thePlanningEntity
annotation.
Optional Element Summary | |
---|---|
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. |
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |