aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/zwobble/mammoth/Result.java
blob: 3cc8f2424c846e278713c2bf7bff0256a6d4cd72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package org.zwobble.mammoth;

import java.util.Set;

/**
 * The result of converting a document.
 */
public interface Result<T> {
    /**
     * The generated value.
     */
    T getValue();

    /**
     * Any warnings generated during the conversion.
     */
    Set<String> getWarnings();
}