*/
@Beta
@NonNullByDefault
+// FIXME: 8.0.0: Split this into two interfaces + scenery:
+// - yang.common.ErrorInfoRepresentation
+// - make NormalizedNodeContainer implement ErrorInfoRepresentation
public final class YangErrorInfo {
+ // FIXME: 8.0.0: implies it extends ErrorInfoRepresentation, but ... perhaps NormalizedErrorInfo
private final DataContainerChild value;
private YangErrorInfo(final DataContainerChild value) {
return new YangErrorInfo(value);
}
+ // FIXME: 8.0.0: yang.common version returns ErrorInfoRepresentation
public DataContainerChild value() {
return value;
}
@Value.Style(stagedBuilder = true, allowedClasspathAnnotations = {
SuppressWarnings.class, Generated.class, SuppressFBWarnings.class,
})
+// FIXME: 8.0.0: Split this interface into two:
+// - yang.common.NetconfError, which does not have a builder sets up the stage
+// - data.api.schema.NormalizedNetconfError
public interface YangNetconfError {
/**
* Return this error's severity.
*
* @return Triggering path, or null.
*/
+ // FIXME: 8.0.0: yang.common returns concepts.HierarchicalIdentifier<?>
@Nullable YangInstanceIdentifier path();
/**
*
* @return Additional info.
*/
+ // FIXME: 8.0.0: return NetconfErrorInfoRepresentation
List<YangErrorInfo> info();
}