Class DeploymentJsonConverter
- java.lang.Object
-
- com.xebialabs.xltype.serialization.json.DeploymentJsonConverter
-
public class DeploymentJsonConverter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DeploymentJsonConverter(ConfigurationItemConverter converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationItemConvertergetCiConverter()com.xebialabs.deployit.engine.api.dto.DeploymenttoDeployment(java.lang.String jsonString)com.xebialabs.deployit.engine.api.dto.DeploymenttoDeployment(org.codehaus.jettison.json.JSONObject json)java.lang.StringtoJson(com.xebialabs.deployit.engine.api.dto.Deployment deployment)voidtoJson(com.xebialabs.deployit.engine.api.dto.Deployment deployment, JsonWriter writer)voidtoJson(java.util.Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders, JsonWriter json)com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholdertoResolvedPlaceholder(org.codehaus.jettison.json.JSONObject jsonObject)
-
-
-
Constructor Detail
-
DeploymentJsonConverter
public DeploymentJsonConverter(ConfigurationItemConverter converter)
-
-
Method Detail
-
getCiConverter
public ConfigurationItemConverter getCiConverter()
-
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
-
-