*/
public final class RestconfDataServiceConstant {
- public static final String CONTENT = "content";
public static final QName NETCONF_BASE_QNAME;
static {
try {
*
*/
public final class ReadData {
+ // URI parameters
+ public static final String CONTENT = "content";
+ public static final String DEPTH = "depth";
+ public static final String FIELDS = "fields";
+ // content values
public static final String CONFIG = "config";
- public static final String NONCONFIG = "nonconfig";
public static final String ALL = "all";
+ public static final String NONCONFIG = "nonconfig";
+
+ // depth values
+ public static final String UNBOUNDED = "unbounded";
+ public static final int MIN_DEPTH = 1;
+ public static final int MAX_DEPTH = 65535;
+
public static final String READ_TYPE_TX = "READ";
private ReadData() {
throw new UnsupportedOperationException("Util class.");
}
}
+
+ /**
+ * Constants for data to delete
+ *
+ */
+ public final class DeleteData {
+ public static final String DELETE_TX_TYPE = "DELETE";
+
+ private DeleteData() {
+ throw new UnsupportedOperationException("Util class.");
+ }
+ }
+
+ /**
+ * Constants for data to yang patch
+ *
+ */
+ public final class PatchData {
+ public static final String PATCH_TX_TYPE = "PATCH";
+
+ private PatchData() {
+ throw new UnsupportedOperationException("Util class.");
+ }
+ }
}