Package org.kie.efesto.common.core.utils
Class JSONUtils
- java.lang.Object
-
- org.kie.efesto.common.core.utils.JSONUtils
-
public class JSONUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.kie.efesto.common.api.model.GeneratedResourcegetGeneratedResourceObject(java.lang.String generatedResourceString)static org.kie.efesto.common.api.model.GeneratedResourcesgetGeneratedResourcesObject(java.lang.String generatedResourcesString)static org.kie.efesto.common.api.model.GeneratedResourcesgetGeneratedResourcesObject(org.kie.efesto.common.api.io.IndexFile indexFile)static java.lang.StringgetGeneratedResourcesString(org.kie.efesto.common.api.model.GeneratedResources generatedResources)static java.lang.StringgetGeneratedResourceString(org.kie.efesto.common.api.model.GeneratedResource generatedResource)static org.kie.efesto.common.api.identifiers.ModelLocalUriIdgetModelLocalUriIdObject(java.lang.String localUriString)static java.lang.StringgetModelLocalUriIdString(org.kie.efesto.common.api.identifiers.ModelLocalUriId localUriId)static voidwriteGeneratedResourcesObject(org.kie.efesto.common.api.model.GeneratedResources toWrite, org.kie.efesto.common.api.io.IndexFile indexFile)
-
-
-
Method Detail
-
getGeneratedResourceString
public static java.lang.String getGeneratedResourceString(org.kie.efesto.common.api.model.GeneratedResource generatedResource) throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getGeneratedResourceObject
public static org.kie.efesto.common.api.model.GeneratedResource getGeneratedResourceObject(java.lang.String generatedResourceString) throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getGeneratedResourcesString
public static java.lang.String getGeneratedResourcesString(org.kie.efesto.common.api.model.GeneratedResources generatedResources) throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getGeneratedResourcesObject
public static org.kie.efesto.common.api.model.GeneratedResources getGeneratedResourcesObject(java.lang.String generatedResourcesString) throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getGeneratedResourcesObject
public static org.kie.efesto.common.api.model.GeneratedResources getGeneratedResourcesObject(org.kie.efesto.common.api.io.IndexFile indexFile) throws java.io.IOException- Throws:
java.io.IOException
-
writeGeneratedResourcesObject
public static void writeGeneratedResourcesObject(org.kie.efesto.common.api.model.GeneratedResources toWrite, org.kie.efesto.common.api.io.IndexFile indexFile) throws java.io.IOException- Throws:
java.io.IOException
-
getModelLocalUriIdString
public static java.lang.String getModelLocalUriIdString(org.kie.efesto.common.api.identifiers.ModelLocalUriId localUriId) throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getModelLocalUriIdObject
public static org.kie.efesto.common.api.identifiers.ModelLocalUriId getModelLocalUriIdObject(java.lang.String localUriString) throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-