11/**
2- * Copyright Siemens AG, 2016, 2019
2+ * Copyright Siemens AG, 2016- 2019
33 *
44 * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
55 * If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
1212/**
1313 * Parses output from {@link IExecutor}.
1414 *
15- * @author Copyright Siemens AG, 2016
15+ * @author Copyright Siemens AG, 2016-2019
1616 */
1717public class MiniZincOutputParser {
1818
1919 static final String SOLUTION_SEPARATOR = "----------" ;
2020
2121 private final IExecutor executor ;
2222
23- MiniZincOutputParser (IExecutor executor ) {
23+ public MiniZincOutputParser (IExecutor executor ) {
2424 this .executor = executor ;
2525 }
2626
@@ -33,7 +33,7 @@ public SolverMessage getSolverMessage() {
3333 *
3434 * @return the entire string that has been written by the solver to stdout.
3535 */
36- private String getAllOutput () {
36+ public String getAllOutput () {
3737 return executor .getLastSolverOutput ();
3838 }
3939
@@ -52,7 +52,7 @@ public String getAllErrors() {
5252 * @return the part of the solver output that is found between the last and the second-to-last
5353 * {@link #SOLUTION_SEPARATOR}.
5454 */
55- String getLastSolution () {
55+ public String getLastSolution () {
5656 return extractLastSolution (SOLUTION_SEPARATOR , SOLUTION_SEPARATOR );
5757 }
5858
0 commit comments