com.acrolinx.sidebar.pojo.document.CheckResult Maven / Gradle / Ivy
/* Copyright (c) 2018 Acrolinx GmbH */
package com.acrolinx.sidebar.pojo.document;
import com.acrolinx.sidebar.pojo.settings.InputFormat;
import java.util.Map;
import java.util.Optional;
public class CheckResult {
public static final String ACROLINX_PROCESSING_INSTRUCTION_TAG_NAME = "acrolinxCheckData";
private final CheckedDocumentPart checkedDocumentPart;
private Map embedCheckInformation;
private String inputFormat;
public CheckResult(final CheckedDocumentPart checkedDocumentPart) {
this.checkedDocumentPart = checkedDocumentPart;
}
public CheckResult(
final CheckedDocumentPart checkedDocumentPart,
final Map embedCheckInformation,
final String inputFormat) {
this.checkedDocumentPart = checkedDocumentPart;
this.embedCheckInformation = embedCheckInformation;
this.inputFormat = inputFormat;
}
public CheckedDocumentPart getCheckedDocumentPart() {
return checkedDocumentPart;
}
public Optional