public class TaskDataDecoder extends Object
| Constructor and Description |
|---|
TaskDataDecoder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
attemptToDecodeNode(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.ObjectMapper mapper,
String nodeName)
Attempts to decode a node with the provided name on the provided JsonNode from base64 to a string representation.
|
static void |
decodeTaskData(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.ObjectMapper mapper)
Replaces a base64 encoded taskData node on provided node with the decoded version on the provided JsonNode object.
|
public static void decodeTaskData(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.ObjectMapper mapper)
node - Node containing task data node to decode.mapper - Mapper to use in decoding.public static void attemptToDecodeNode(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.ObjectMapper mapper,
String nodeName)
node - Node containing node that should be decoded.mapper - Mapper to use in decoding.nodeName - Name of the node that should be decoded.Copyright © 2015–2017 Hewlett Packard Enterprise Development LP. All rights reserved.