Package org.nuxeo.ecm.restapi.test
Class JsonNodeHelper
- java.lang.Object
-
- org.nuxeo.ecm.restapi.test.JsonNodeHelper
-
public final class JsonNodeHelper extends Object
- Since:
- 2023.13
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<com.fasterxml.jackson.databind.JsonNode>
getEntries(com.fasterxml.jackson.databind.JsonNode node)
static List<com.fasterxml.jackson.databind.JsonNode>
getEntries(String expectedEntityType, com.fasterxml.jackson.databind.JsonNode node)
static int
getEntriesSize(com.fasterxml.jackson.databind.JsonNode node)
static int
getEntriesSize(String expectedEntityType, com.fasterxml.jackson.databind.JsonNode node)
static String
getErrorMessage(com.fasterxml.jackson.databind.JsonNode node)
static boolean
hasErrorMessage(com.fasterxml.jackson.databind.JsonNode node)
-
-
-
Method Detail
-
getEntries
public static List<com.fasterxml.jackson.databind.JsonNode> getEntries(com.fasterxml.jackson.databind.JsonNode node)
-
getEntries
public static List<com.fasterxml.jackson.databind.JsonNode> getEntries(String expectedEntityType, com.fasterxml.jackson.databind.JsonNode node)
-
getEntriesSize
public static int getEntriesSize(com.fasterxml.jackson.databind.JsonNode node)
-
getEntriesSize
public static int getEntriesSize(String expectedEntityType, com.fasterxml.jackson.databind.JsonNode node)
-
getErrorMessage
public static String getErrorMessage(com.fasterxml.jackson.databind.JsonNode node)
-
hasErrorMessage
public static boolean hasErrorMessage(com.fasterxml.jackson.databind.JsonNode node)
-
-