public class ModuleUtiltiy extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
APRM_MODULE |
protected static org.apache.log4j.Logger |
log4j |
static String |
TEMPLATE_30 |
| Constructor and Description |
|---|
ModuleUtiltiy() |
| Modifier and Type | Method and Description |
|---|---|
static HashMap<String,String> |
getSystemMaturityLevels(boolean install)
Obtains the global minimum maturity levels defined for module installation and update.
|
static ArrayList<String> |
orderByDependency(ConnectionProvider conn,
ArrayList<String> modules)
Deprecated.
|
static List<String> |
orderByDependency(List<String> modules)
It receives an ArrayList
|
static void |
orderModuleByDependency(ConnectionProvider pool,
FieldProvider[] modules)
Deprecated.
|
static void |
orderModuleByDependency(FieldProvider[] modules)
Modifies the passed modules
FieldProvider parameter ordering it taking into account
dependencies. |
protected static org.apache.log4j.Logger log4j
public static final String TEMPLATE_30
public static final String APRM_MODULE
public static List<String> orderByDependency(List<String> modules) throws Exception
modules - List of module to orderException@Deprecated public static ArrayList<String> orderByDependency(ConnectionProvider conn, ArrayList<String> modules)
orderByDependency(List) insteadconn - modules - public static void orderModuleByDependency(FieldProvider[] modules) throws Exception
FieldProvider parameter ordering it taking into account
dependencies.
modules - FieldProvider that will be sorted. It must contain at least a field named
adModuleIdException@Deprecated public static void orderModuleByDependency(ConnectionProvider pool, FieldProvider[] modules)
orderModuleByDependency(FieldProvider[])pool - modules - public static HashMap<String,String> getSystemMaturityLevels(boolean install)
install - true: Module installation
false: Module update