public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static Element |
addElements(Document doc,
String root,
Element[] elements) |
static Element |
createTextElement(Document doc,
String tag,
String text) |
static String |
docToString(Document doc)
transform a Document into string
|
static List<FunctionalityPersisted> |
getSelectedFunctionality(com.j256.ormlite.dao.Dao<VreFunctionalityRelation,String> vreFunctionalityDao,
com.j256.ormlite.dao.Dao<FunctionalityPersisted,Integer> functionalityDao,
String resourceId) |
static boolean |
isDeploymentStatusFinished(String report) |
static boolean |
isSomethingFailed(String report)
controls if something is failed deploying
|
static boolean |
isVersionGreater(String versionA,
String versionB) |
static List<org.gcube.vremanagement.vremodeler.stubs.FunctionalityItem> |
prepareFunctionalities(ResultSet res,
ArrayList<Integer> selectedFunct,
ArrayList<String> selectedCS) |
static String |
prepareQualityXML() |
static org.gcube.vremanagement.vremodeler.stubs.VREDescription |
prepareVREDescription(ResultSet res) |
public static List<FunctionalityPersisted> getSelectedFunctionality(com.j256.ormlite.dao.Dao<VreFunctionalityRelation,String> vreFunctionalityDao, com.j256.ormlite.dao.Dao<FunctionalityPersisted,Integer> functionalityDao, String resourceId) throws Exception
Exceptionpublic static String prepareQualityXML()
public static List<org.gcube.vremanagement.vremodeler.stubs.FunctionalityItem> prepareFunctionalities(ResultSet res, ArrayList<Integer> selectedFunct, ArrayList<String> selectedCS)
res - selectedFunct - selectedCS - public static org.gcube.vremanagement.vremodeler.stubs.VREDescription prepareVREDescription(ResultSet res) throws Exception
res - Exceptionpublic static String docToString(Document doc)
doc - Documentpublic static Element addElements(Document doc, String root, Element[] elements)
doc - the root Documentroot - the element tag nameelements - elements to addpublic static Element createTextElement(Document doc, String tag, String text)
doc - the root DocumentTag - the element tag nametext - the text to add at the elementpublic static boolean isDeploymentStatusFinished(String report)
public static boolean isSomethingFailed(String report)
report - the VRE deployment reportCopyright © 2017. All Rights Reserved.