|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axway.grapes.server.db.DataUtils
public final class DataUtils
Data Utility
Utility class that performs data transformation.
| Method Summary | |
|---|---|
static Artifact |
createArtifact(String gavc)
Generates an artifact starting from gavc WARNING: use this method only if you have a missing reference in the database!!! |
static DbArtifact |
createDbArtifact(String gavc)
Generates an artifact starting from gavc WARNING: use this method only if you have a missing reference in the database!!! |
static List<String> |
getAllArtifacts(DbModule module)
Return a gavc list of all the artifact contained into the module (an its submodules) |
static Set<Artifact> |
getAllArtifacts(Module module)
Return a list of all the artifact contained into the module (an its submodules) |
static List<DbDependency> |
getAllDbDependencies(DbModule module)
Return a list of all the dependencies contained into the module (an its submodules) |
static Set<Dependency> |
getAllDependencies(Module module)
Return a list of all the dependencies contained into the module (an its submodules) |
static List<DbModule> |
getAllSubmodules(DbModule module)
Return the list of all the module submodules |
static String |
getGroupId(String gavc)
Split an artifact gavc to get the groupId |
static String |
getModuleName(String moduleId)
Split a module Id to get the module name |
static String |
getModuleVersion(String moduleId)
Split a module Id to get the module version |
static void |
sort(List<Artifact> targets)
Bubble sort |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static List<String> getAllArtifacts(DbModule module)
module -
public static Set<Artifact> getAllArtifacts(Module module)
module -
public static Set<Dependency> getAllDependencies(Module module)
module -
public static List<DbDependency> getAllDbDependencies(DbModule module)
module -
public static String getModuleName(String moduleId)
moduleId -
public static String getModuleVersion(String moduleId)
moduleId -
public static String getGroupId(String gavc)
gavc -
public static DbArtifact createDbArtifact(String gavc)
gavc -
public static Artifact createArtifact(String gavc)
gavc -
public static List<DbModule> getAllSubmodules(DbModule module)
module -
public static void sort(List<Artifact> targets)
targets -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||