org.optaplanner.core.api.domain.valuerange
Annotation Type ValueRangeProvider
- @Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface ValueRangeProvider 
Provides the planning values that can be used for a planning variable.
 This is specified on a getter of a java bean property which returns a Collection or ValueRange.
 
 A Collection is implicitly converted to a ValueRange.
 
id
public abstract String id
- Used by PlanningVariable.valueRangeProviderRefs()to map aPlanningVariableto aValueRangeProvider.
 
- 
 
- 
- Returns:
- never null, must be unique across a SolverFactory
 
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.