mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-26 01:05:38 +00:00
#28 Add CreateReportInput to result in API
This commit is contained in:
parent
c8b81b78ea
commit
e83b316d95
4 changed files with 19 additions and 8 deletions
|
|
@ -16,6 +16,7 @@ import lombok.Setter;
|
|||
import de.kosit.validationtool.api.AcceptRecommendation;
|
||||
import de.kosit.validationtool.api.Result;
|
||||
import de.kosit.validationtool.api.XmlError;
|
||||
import de.kosit.validationtool.model.reportInput.CreateReportInput;
|
||||
|
||||
import net.sf.saxon.dom.NodeOverNodeInfo;
|
||||
import net.sf.saxon.s9api.SaxonApiException;
|
||||
|
|
@ -23,15 +24,20 @@ import net.sf.saxon.s9api.Serializer;
|
|||
import net.sf.saxon.s9api.XdmNode;
|
||||
|
||||
/**
|
||||
* Das Default-{@link Result} für die Rückgabe in der API
|
||||
*
|
||||
* @author Andreas Penski
|
||||
*/
|
||||
|
||||
public class DefaultResult implements Result {
|
||||
|
||||
/** Der generierte Report. */
|
||||
@Getter
|
||||
private final XdmNode report;
|
||||
|
||||
@Getter
|
||||
@Setter(AccessLevel.PACKAGE)
|
||||
private CreateReportInput reportInput;
|
||||
|
||||
/** Das evaluierte Ergebnis. */
|
||||
@Getter
|
||||
private final AcceptRecommendation acceptRecommendation;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue