Package edu.isi.pegasus.planner.dax
Class Invoke.JsonSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- edu.isi.pegasus.planner.common.PegasusJsonSerializer<Invoke>
-
- edu.isi.pegasus.planner.dax.Invoke.JsonSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
- Invoke
public static class Invoke.JsonSerializer extends edu.isi.pegasus.planner.common.PegasusJsonSerializer<Invoke>
Custom serializer for YAML representation of an Invoke (Hook in 5.0)- Author:
- Ryan Tanaka
-
-
Constructor Summary
Constructors Constructor Description JsonSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(Invoke iv, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider sp)
Serializes an Invoke into YAML representation.-
Methods inherited from class edu.isi.pegasus.planner.common.PegasusJsonSerializer
writeArray, writeNumberField, writeStringField, writeStringField
-
-
-
-
Method Detail
-
serialize
public void serialize(Invoke iv, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider sp) throws java.io.IOException
Serializes an Invoke into YAML representation.- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<Invoke>
- Parameters:
iv
- the invoke objectgen
- the json generatorsp
- serialization provider- Throws:
java.io.IOException
- IOException
-
-