Class CiXStreamWriter

  • All Implemented Interfaces:
    CiWriter

    public class CiXStreamWriter
    extends java.lang.Object
    implements CiWriter
    • Constructor Summary

      Constructors 
      Constructor Description
      CiXStreamWriter()  
      CiXStreamWriter​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)  
      CiXStreamWriter​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, boolean suppressOuterElement)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void ciAttributes​(com.xebialabs.deployit.plugin.api.udm.CiAttributes ciAttributes)  
      void ciFileAttribute​(java.lang.String file)  
      void ciReference​(java.lang.String reference)  
      void ciReferences​(java.util.Collection<java.lang.String> references)  
      void endCi()  
      void endList()  
      void endProperty()  
      void externalProperties​(java.util.Map<java.lang.String,​com.xebialabs.deployit.plugin.api.udm.ExternalProperty> externalProperties)  
      void mapAsStrings​(java.util.Map<?,​?> map)  
      void startCi​(java.lang.String type, java.lang.String id)  
      void startList()  
      void startProperty​(java.lang.String name)  
      void token​(java.lang.String token)  
      java.lang.String toString()  
      void typedCiReference​(com.xebialabs.deployit.engine.api.dto.ConfigurationItemId ci)  
      void typedCiReferences​(java.util.Collection<com.xebialabs.deployit.engine.api.dto.ConfigurationItemId> references)  
      void validationMessages​(java.util.List<com.xebialabs.deployit.plugin.api.validation.ValidationMessage> validations)  
      void valueAsString​(java.lang.Object value)  
      void valuesAsStrings​(java.util.Collection<?> values)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CiXStreamWriter

        public CiXStreamWriter()
      • CiXStreamWriter

        public CiXStreamWriter​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
      • CiXStreamWriter

        public CiXStreamWriter​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                               boolean suppressOuterElement)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • startList

        public void startList()
        Specified by:
        startList in interface CiWriter
      • endList

        public void endList()
        Specified by:
        endList in interface CiWriter
      • startCi

        public void startCi​(java.lang.String type,
                            java.lang.String id)
        Specified by:
        startCi in interface CiWriter
      • endCi

        public void endCi()
        Specified by:
        endCi in interface CiWriter
      • token

        public void token​(java.lang.String token)
        Specified by:
        token in interface CiWriter
      • ciAttributes

        public void ciAttributes​(com.xebialabs.deployit.plugin.api.udm.CiAttributes ciAttributes)
        Specified by:
        ciAttributes in interface CiWriter
      • ciFileAttribute

        public void ciFileAttribute​(java.lang.String file)
        Specified by:
        ciFileAttribute in interface CiWriter
      • startProperty

        public void startProperty​(java.lang.String name)
        Specified by:
        startProperty in interface CiWriter
      • valueAsString

        public void valueAsString​(java.lang.Object value)
        Specified by:
        valueAsString in interface CiWriter
      • valuesAsStrings

        public void valuesAsStrings​(java.util.Collection<?> values)
        Specified by:
        valuesAsStrings in interface CiWriter
      • mapAsStrings

        public void mapAsStrings​(java.util.Map<?,​?> map)
        Specified by:
        mapAsStrings in interface CiWriter
      • ciReference

        public void ciReference​(java.lang.String reference)
        Specified by:
        ciReference in interface CiWriter
      • ciReferences

        public void ciReferences​(java.util.Collection<java.lang.String> references)
        Specified by:
        ciReferences in interface CiWriter
      • typedCiReference

        public void typedCiReference​(com.xebialabs.deployit.engine.api.dto.ConfigurationItemId ci)
        Specified by:
        typedCiReference in interface CiWriter
      • typedCiReferences

        public void typedCiReferences​(java.util.Collection<com.xebialabs.deployit.engine.api.dto.ConfigurationItemId> references)
        Specified by:
        typedCiReferences in interface CiWriter
      • validationMessages

        public void validationMessages​(java.util.List<com.xebialabs.deployit.plugin.api.validation.ValidationMessage> validations)
        Specified by:
        validationMessages in interface CiWriter
      • externalProperties

        public void externalProperties​(java.util.Map<java.lang.String,​com.xebialabs.deployit.plugin.api.udm.ExternalProperty> externalProperties)
        Specified by:
        externalProperties in interface CiWriter