public final class DecodeInstructionCodecHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
DecodeInstructionCodecHelper(com.fasterxml.jackson.databind.node.ObjectNode json,
org.onosproject.codec.CodecContext context)
Creates a decode instruction codec object.
|
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.flow.instructions.Instruction |
decode()
Decodes the JSON into an instruction object.
|
public DecodeInstructionCodecHelper(com.fasterxml.jackson.databind.node.ObjectNode json,
org.onosproject.codec.CodecContext context)
json - JSON object to decodecontext - codec contextpublic org.onosproject.net.flow.instructions.Instruction decode()
IllegalArgumentException - if the JSON is invalid