public final class EncodeMappingActionCodecHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
EncodeMappingActionCodecHelper(MappingAction action,
org.onosproject.codec.CodecContext context)
Creates a mapping action object encoder.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.node.ObjectNode |
encode()
Encodes the given mapping instruction into JSON.
|
public EncodeMappingActionCodecHelper(MappingAction action, org.onosproject.codec.CodecContext context)
action - mapping action to encodecontext - codec context for the encoding