Class Converters

java.lang.Object
com.xebialabs.xltype.serialization.xstream.Converters

public class Converters extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> List<T>
    readList(Object owner, Class<T> toRead, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
     
    static Map<String,String>
    readMap(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
     
    static Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder>
    readPlaceholders(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
     
    static void
    writeBlockBasics(com.xebialabs.deployit.engine.api.execution.BlockState block, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
     
    static void
    writeBlockTree(com.xebialabs.deployit.engine.api.execution.BlockState block, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, boolean writeStepBlocks)
     
    static void
    writeConfigurationItem(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem ci, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
     
    static void
    writeNode(String name, String value, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
     
    static void
    writePhase(com.xebialabs.deployit.engine.api.execution.PhaseState phase, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, boolean writeStepBlocks)
     
    static void
    writePhaseContainer(com.xebialabs.deployit.engine.api.execution.PhaseContainerState phaseContainerState, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, boolean writeStepBlocks)
     
    static void
    writeStepBlock(com.xebialabs.deployit.engine.api.execution.StepBlockState block, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
     
    static void
    writeSteps(List<com.xebialabs.deployit.engine.api.execution.StepState> steps, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Converters

      public Converters()
  • Method Details

    • readList

      public static <T> List<T> readList(Object owner, Class<T> toRead, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
    • readPlaceholders

      public static Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> readPlaceholders(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
    • readMap

      public static Map<String,String> readMap(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
    • writeNode

      public static void writeNode(String name, String value, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
    • writeConfigurationItem

      public static void writeConfigurationItem(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem ci, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
    • writePhaseContainer

      public static void writePhaseContainer(com.xebialabs.deployit.engine.api.execution.PhaseContainerState phaseContainerState, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, boolean writeStepBlocks)
    • writePhase

      public static void writePhase(com.xebialabs.deployit.engine.api.execution.PhaseState phase, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, boolean writeStepBlocks)
    • writeBlockTree

      public static void writeBlockTree(com.xebialabs.deployit.engine.api.execution.BlockState block, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, boolean writeStepBlocks)
    • writeStepBlock

      public static void writeStepBlock(com.xebialabs.deployit.engine.api.execution.StepBlockState block, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
    • writeSteps

      public static void writeSteps(List<com.xebialabs.deployit.engine.api.execution.StepState> steps, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
    • writeBlockBasics

      public static void writeBlockBasics(com.xebialabs.deployit.engine.api.execution.BlockState block, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)