public class ViewProcessor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ViewProcessor.ConflictStrategy |
static class |
ViewProcessor.JsonObjectExtensionConflictException |
Constructor and Description |
---|
ViewProcessor() |
Modifier and Type | Method and Description |
---|---|
private static void |
extendJsonObject(JsonObject leftObj,
JsonObject rightObj,
ViewProcessor.ConflictStrategy conflictStrategy) |
static void |
extendJsonObject(JsonObject destinationObject,
ViewProcessor.ConflictStrategy conflictResolutionStrategy,
JsonObject... objs) |
static java.lang.String |
getView(java.util.List<JsonObject> viewCustomisations) |
private static void |
handleMergeConflict(java.lang.String key,
JsonObject leftObj,
JsonElement leftVal,
JsonElement rightVal,
ViewProcessor.ConflictStrategy conflictStrategy) |
public static java.lang.String getView(java.util.List<JsonObject> viewCustomisations) throws ViewProcessor.JsonObjectExtensionConflictException
public static void extendJsonObject(JsonObject destinationObject, ViewProcessor.ConflictStrategy conflictResolutionStrategy, JsonObject... objs) throws ViewProcessor.JsonObjectExtensionConflictException
private static void extendJsonObject(JsonObject leftObj, JsonObject rightObj, ViewProcessor.ConflictStrategy conflictStrategy) throws ViewProcessor.JsonObjectExtensionConflictException
private static void handleMergeConflict(java.lang.String key, JsonObject leftObj, JsonElement leftVal, JsonElement rightVal, ViewProcessor.ConflictStrategy conflictStrategy) throws ViewProcessor.JsonObjectExtensionConflictException