@Target(value=TYPE) @Retention(value=RUNTIME) public @interface PlanningSolution
PlanningEntityCollectionProperty
or PlanningEntityProperty property.
The class should have a public no-arg constructor, so it can be cloned
(unless the solutionCloner() is specified).
This annotation describes declarative properties of the planning solution.
The planning solution class must also implement Solution,
which is needed to get/set state.
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends SolutionCloner> |
solutionCloner
Overrides the default
SolutionCloner to implement a custom Solution cloning implementation. |
public abstract Class<? extends SolutionCloner> solutionCloner
SolutionCloner to implement a custom Solution cloning implementation.
If this is not specified and the Solution does not implements PlanningCloneable,
the default reflection-based SolutionCloner is used, so you don't have to worry about it.
PlanningSolution.NullSolutionCloner when it is null (workaround for annotation limitation)Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.