Package edu.isi.pegasus.planner.dax
Class ADAG.JsonSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- edu.isi.pegasus.planner.common.PegasusJsonSerializer<ADAG>
-
- edu.isi.pegasus.planner.dax.ADAG.JsonSerializer
-
-
Constructor Summary
Constructors Constructor Description JsonSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(ADAG adag, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider sp)
Serializes ADAG into YAML representation-
Methods inherited from class edu.isi.pegasus.planner.common.PegasusJsonSerializer
writeArray, writeNumberField, writeStringField, writeStringField
-
-
-
-
Method Detail
-
serialize
public void serialize(ADAG adag, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider sp) throws java.io.IOException, java.lang.UnsupportedOperationException
Serializes ADAG into YAML representation- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<ADAG>
- Parameters:
adag
- the adag being serializedgen
- the json generatorsp
- the serialization provider- Throws:
java.io.IOException
- exceptionjava.lang.UnsupportedOperationException
-
-