Class DeploymentJsonConverter


  • public class DeploymentJsonConverter
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConfigurationItemConverter getCiConverter()  
      com.xebialabs.deployit.engine.api.dto.Deployment toDeployment​(java.lang.String jsonString)  
      com.xebialabs.deployit.engine.api.dto.Deployment toDeployment​(org.codehaus.jettison.json.JSONObject json)  
      java.lang.String toJson​(com.xebialabs.deployit.engine.api.dto.Deployment deployment)  
      void toJson​(com.xebialabs.deployit.engine.api.dto.Deployment deployment, JsonWriter writer)  
      void toJson​(java.util.Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders, JsonWriter json)  
      com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder toResolvedPlaceholder​(org.codehaus.jettison.json.JSONObject jsonObject)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toJson

        public java.lang.String toJson​(com.xebialabs.deployit.engine.api.dto.Deployment deployment)
      • toJson

        public void toJson​(com.xebialabs.deployit.engine.api.dto.Deployment deployment,
                           JsonWriter writer)
      • toJson

        public void toJson​(java.util.Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders,
                           JsonWriter json)
      • toDeployment

        public com.xebialabs.deployit.engine.api.dto.Deployment toDeployment​(java.lang.String jsonString)
      • toResolvedPlaceholder

        public com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder toResolvedPlaceholder​(org.codehaus.jettison.json.JSONObject jsonObject)
                                                                                               throws org.codehaus.jettison.json.JSONException
        Throws:
        org.codehaus.jettison.json.JSONException
      • toDeployment

        public com.xebialabs.deployit.engine.api.dto.Deployment toDeployment​(org.codehaus.jettison.json.JSONObject json)
                                                                      throws org.codehaus.jettison.json.JSONException
        Throws:
        org.codehaus.jettison.json.JSONException