Class Converters
- java.lang.Object
-
- com.xebialabs.xltype.serialization.xstream.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 voidwriteBlockBasics(com.xebialabs.deployit.engine.api.execution.BlockState block, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)static voidwriteBlockTree(com.xebialabs.deployit.engine.api.execution.BlockState block, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, boolean writeStepBlocks)static voidwriteConfigurationItem(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem ci, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)static voidwriteNode(java.lang.String name, java.lang.String value, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)static voidwritePhase(com.xebialabs.deployit.engine.api.execution.PhaseState phase, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, boolean writeStepBlocks)static voidwritePhaseContainer(com.xebialabs.deployit.engine.api.execution.PhaseContainerState phaseContainerState, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, boolean writeStepBlocks)static voidwriteStepBlock(com.xebialabs.deployit.engine.api.execution.StepBlockState block, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)static voidwriteSteps(java.util.List<com.xebialabs.deployit.engine.api.execution.StepState> steps, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
-
-
-
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)
-
-