|
org.netbeans.core.startup/1 1.40 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.core.startup.ConsistencyVerifier
public class ConsistencyVerifier
Utility class permitting you to verify that a set of modules could be enabled together.
Currently used from org.netbeans.core.validation.ValidateUpdateCenterTest.
| Method Summary | |
|---|---|
static SortedMap<String,SortedSet<String>> |
findInconsistencies(Set<Manifest> modules)
Find all expected installation problems for a set of modules. |
static SortedMap<String,SortedSet<String>> |
findInconsistencies(Set<Manifest> modules,
Set<String> permittedDisabledAutoloads)
Find all expected installation problems for a set of modules. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SortedMap<String,SortedSet<String>> findInconsistencies(Set<Manifest> modules)
throws IllegalArgumentException
modules - a set of module manifests to test together
IllegalArgumentException - if the set of modules is illegal (e.g. contains duplicates)
public static SortedMap<String,SortedSet<String>> findInconsistencies(Set<Manifest> modules,
Set<String> permittedDisabledAutoloads)
throws IllegalArgumentException
The manifests may contain the pseudoattributes autoload and eager
which if set to true will mark the corresponding modules autoload or eager (resp.).
It is considered an error if some nondeprecated autoload modules would not be enabled unless explicitly whitelisted.
modules - a set of module manifests to test togetherpermittedDisabledAutoloads - if null, do not check autoload enablement;
otherwise (not null but possibly empty) permit the listed modules (as CNBs) to be disabled
IllegalArgumentException - if the set of modules is illegal (e.g. contains duplicates)
|
org.netbeans.core.startup/1 1.40 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||