public class DeploymentJsonConverter
extends java.lang.Object
| Constructor and Description |
|---|
DeploymentJsonConverter(ConfigurationItemConverter converter) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationItemConverter |
getCiConverter() |
com.xebialabs.deployit.engine.api.dto.Deployment |
toDeployment(org.codehaus.jettison.json.JSONObject json) |
com.xebialabs.deployit.engine.api.dto.Deployment |
toDeployment(java.lang.String jsonString) |
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) |
public DeploymentJsonConverter(ConfigurationItemConverter converter)
public ConfigurationItemConverter getCiConverter()
public java.lang.String toJson(com.xebialabs.deployit.engine.api.dto.Deployment deployment)
public void toJson(com.xebialabs.deployit.engine.api.dto.Deployment deployment,
JsonWriter writer)
public void toJson(java.util.Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders,
JsonWriter json)
public com.xebialabs.deployit.engine.api.dto.Deployment toDeployment(java.lang.String jsonString)
public com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder toResolvedPlaceholder(org.codehaus.jettison.json.JSONObject jsonObject)
throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionpublic com.xebialabs.deployit.engine.api.dto.Deployment toDeployment(org.codehaus.jettison.json.JSONObject json)
throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONException