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
Collection
orValueRange
. ACollection
is implicitly converted to aValueRange
.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description String
id
Used byPlanningVariable.valueRangeProviderRefs()
to map aPlanningVariable
to aValueRangeProvider
.
-
-
-
Element Detail
-
id
String id
Used byPlanningVariable.valueRangeProviderRefs()
to map aPlanningVariable
to aValueRangeProvider
.- Returns:
- never null, must be unique across a
SolverFactory
-
-