Class Converters


  • public class Converters
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Converters()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> java.util.List<T> readList​(java.lang.Object owner, java.lang.Class<T> toRead, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)  
      static java.util.Map<java.lang.String,​java.lang.String> readMap​(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)  
      static java.util.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​(java.lang.String name, java.lang.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​(java.util.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 Detail

      • Converters

        public Converters()
    • Method Detail

      • readList

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

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

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

        public static void writeNode​(java.lang.String name,
                                     java.lang.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​(java.util.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)