Annotation Type ValueRangeProvider
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface ValueRangeProvider
Provides the planning values that can be used for aPlanningVariable.This is specified on a getter of a java bean property (or directly on a field) which returns a
CollectionorValueRange. ACollectionis implicitly converted to aValueRange.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringidUsed byPlanningVariable.valueRangeProviderRefs()to map aPlanningVariableto aValueRangeProvider.
-
-
-
Element Detail
-
id
String id
Used byPlanningVariable.valueRangeProviderRefs()to map aPlanningVariableto aValueRangeProvider. If not provided, an attempt will be made to find a matchingPlanningVariablewithout a ref.- Returns:
- if provided, must be unique across a
SolverFactory
- Default:
- ""
-
-