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.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description StringidUsed byPlanningVariable.valueRangeProviderRefs()to map aPlanningVariableto aValueRangeProvider.
-
-
-
Element Detail
-
id
String id
Used byPlanningVariable.valueRangeProviderRefs()to map aPlanningVariableto aValueRangeProvider.- Returns:
- never null, must be unique across a
SolverFactory
-
-