Magick
Magick

Reputation: 5112

Optaplanner: alternatives to annotating

What alternatives are there to annotating classes with PlanningVariable and PlanningEntity? I do not have access to modify these classes. Is it possible to do it in code or in a properties file?

Upvotes: 1

Views: 456

Answers (1)

Geoffrey De Smet
Geoffrey De Smet

Reputation: 27312

See this unresolved community jira issue: PLANNER-151 (no customer request yet though)

A future version of OptaPlanner will support declaring annotations in an xml file, according to the same system that allows to declare JPA annotations in an orm.xml file to avoid cluttering your domain with our annotations.

Upvotes: 1

Related Questions