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