@XStreamConverter(value=com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter.class,
strings="scoreString")
public class ScoreWrapper
extends Object
| Constructor and Description |
|---|
ScoreWrapper(org.optaplanner.core.api.score.Score score) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.optaplanner.core.api.score.Score> |
getScoreClass() |
String |
getScoreString() |
org.optaplanner.core.api.score.Score |
toScore()
Returns score representation of the object.
|
String |
toString() |
public Class<? extends org.optaplanner.core.api.score.Score> getScoreClass()
public String getScoreString()
public org.optaplanner.core.api.score.Score toScore()
IllegalArgumentException - If scoreClass is not one of the out-of-box score implementations. In this case
clients may implement their own way to extract the score object.Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.