@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.
TODO currently this violated DRY because the user needs to implement Solution
too.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-2014 JBoss by Red Hat. All Rights Reserved.