* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.restconf.nb.rfc8040.streams;
+package org.opendaylight.restconf.server.spi;
-import org.eclipse.jdt.annotation.NonNullByDefault;
+import org.eclipse.jdt.annotation.NonNull;
/**
* Text formatting parameters.
* changed nodes
* @param childNodesOnly {@code true} if this query should only notify about child node changes
*/
-@NonNullByDefault
-record TextParameters(boolean leafNodesOnly, boolean skipData, boolean changedLeafNodesOnly, boolean childNodesOnly) {
- static final TextParameters EMPTY = new TextParameters(false, false, false, false);
+public record TextParameters(
+ boolean leafNodesOnly,
+ boolean skipData,
+ boolean changedLeafNodesOnly,
+ boolean childNodesOnly) {
+ public static final @NonNull TextParameters EMPTY = new TextParameters(false, false, false, false);
}
\ No newline at end of file