Class XStreamConfigReader
- java.lang.Object
-
- org.optaplanner.core.impl.solver.io.XStreamConfigReader
-
public final class XStreamConfigReader extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.thoughtworks.xstream.XStream
buildXStream()
Builds theXStream
setup which is used to read/writesolver configs
and benchmark configs.static com.thoughtworks.xstream.XStream
buildXStream(ClassLoader classLoader)
As defined bybuildXStream()
.static com.thoughtworks.xstream.XStream
buildXStream(ClassLoader classLoader, Class... xStreamAnnotations)
static com.thoughtworks.xstream.XStream
buildXStreamPortable(ClassLoader classLoader, Class... xStreamAnnotations)
-
-
-
Method Detail
-
buildXStream
public static com.thoughtworks.xstream.XStream buildXStream()
Builds theXStream
setup which is used to read/writesolver configs
and benchmark configs. It should never be used to read/writesolutions
. Use XStreamSolutionFileIO for that instead.- Returns:
- never null.
-
buildXStream
public static com.thoughtworks.xstream.XStream buildXStream(ClassLoader classLoader)
As defined bybuildXStream()
.- Parameters:
classLoader
- sometimes null, ignored if null- Returns:
- never null
-
buildXStream
public static com.thoughtworks.xstream.XStream buildXStream(ClassLoader classLoader, Class... xStreamAnnotations)
-
buildXStreamPortable
public static com.thoughtworks.xstream.XStream buildXStreamPortable(ClassLoader classLoader, Class... xStreamAnnotations)
-
-