Class TemplateJsonHelper

java.lang.Object
com.xebialabs.xlrelease.export.TemplateJsonHelper

public class TemplateJsonHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    flagTask(com.fasterxml.jackson.databind.node.ObjectNode task, String warningMessage)
     
    static void
    flagTask(org.codehaus.jettison.json.JSONObject task, String warningMessage)
     
    static List<org.codehaus.jettison.json.JSONObject>
    getDashboardsFromRelease(org.codehaus.jettison.json.JSONObject releaseJson)
     
    static com.fasterxml.jackson.databind.node.ObjectNode
    getPhase(com.fasterxml.jackson.databind.node.ObjectNode taskJson, com.fasterxml.jackson.databind.node.ObjectNode releaseJson)
     
    static org.codehaus.jettison.json.JSONObject
    getPhase(org.codehaus.jettison.json.JSONObject taskJson, org.codehaus.jettison.json.JSONObject releaseJson)
     
    static List<com.fasterxml.jackson.databind.node.ObjectNode>
    getTasksFromRelease(com.fasterxml.jackson.databind.node.ObjectNode releaseJson)
     
    static List<org.codehaus.jettison.json.JSONObject>
    getTasksFromRelease(org.codehaus.jettison.json.JSONObject releaseJson)
     
    static boolean
    isCustomScriptTask(org.codehaus.jettison.json.JSONObject task)
     
    static void
    resetToManualTask(org.codehaus.jettison.json.JSONObject task)
     
    static boolean
    typeNotFound(com.fasterxml.jackson.databind.node.ObjectNode pythonScript)
     
    static boolean
    typeNotFound(org.codehaus.jettison.json.JSONObject pythonScript)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TemplateJsonHelper

      public TemplateJsonHelper()
  • Method Details

    • isCustomScriptTask

      public static boolean isCustomScriptTask(org.codehaus.jettison.json.JSONObject task) throws org.codehaus.jettison.json.JSONException
      Throws:
      org.codehaus.jettison.json.JSONException
    • typeNotFound

      public static boolean typeNotFound(org.codehaus.jettison.json.JSONObject pythonScript) throws org.codehaus.jettison.json.JSONException
      Throws:
      org.codehaus.jettison.json.JSONException
    • typeNotFound

      public static boolean typeNotFound(com.fasterxml.jackson.databind.node.ObjectNode pythonScript)
    • resetToManualTask

      public static void resetToManualTask(org.codehaus.jettison.json.JSONObject task) throws org.codehaus.jettison.json.JSONException
      Throws:
      org.codehaus.jettison.json.JSONException
    • flagTask

      public static void flagTask(org.codehaus.jettison.json.JSONObject task, String warningMessage) throws org.codehaus.jettison.json.JSONException
      Throws:
      org.codehaus.jettison.json.JSONException
    • flagTask

      public static void flagTask(com.fasterxml.jackson.databind.node.ObjectNode task, String warningMessage)
    • getTasksFromRelease

      public static List<org.codehaus.jettison.json.JSONObject> getTasksFromRelease(org.codehaus.jettison.json.JSONObject releaseJson) throws org.codehaus.jettison.json.JSONException
      Throws:
      org.codehaus.jettison.json.JSONException
    • getTasksFromRelease

      public static List<com.fasterxml.jackson.databind.node.ObjectNode> getTasksFromRelease(com.fasterxml.jackson.databind.node.ObjectNode releaseJson)
    • getDashboardsFromRelease

      public static List<org.codehaus.jettison.json.JSONObject> getDashboardsFromRelease(org.codehaus.jettison.json.JSONObject releaseJson) throws org.codehaus.jettison.json.JSONException
      Throws:
      org.codehaus.jettison.json.JSONException
    • getPhase

      public static org.codehaus.jettison.json.JSONObject getPhase(org.codehaus.jettison.json.JSONObject taskJson, org.codehaus.jettison.json.JSONObject releaseJson) throws org.codehaus.jettison.json.JSONException
      Throws:
      org.codehaus.jettison.json.JSONException
    • getPhase

      public static com.fasterxml.jackson.databind.node.ObjectNode getPhase(com.fasterxml.jackson.databind.node.ObjectNode taskJson, com.fasterxml.jackson.databind.node.ObjectNode releaseJson)