blob: fa114f6a1830f29a100213341a8c924b34539dde (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.feed.client;
import java.util.Optional;
/**
* Result for a document operation which completed normally.
*
* @author bjorncs
* @author jonmv
*/
public interface Result {
enum Type {
success,
conditionNotMet
}
Type type();
DocumentId documentId();
Optional<String> resultMessage();
Optional<String> traceMessage();
}
|