| java.lang.Object org.netbeans.modules.apisupport.project.ui.customizer.ModuleDependency
ModuleDependency | final public class ModuleDependency implements Comparable<ModuleDependency>(Code) | | Represents one module dependency. I.e. <dependency> element
in module's project.xml or one token in the
OpenIDE-Module-Module-Dependencies attribute of module manifest.
Natural ordering is based sequentially on the code name base of
ModuleEntry this instance represents, release version, specification
version, implementation dependency and compilation dependency. Two instances
are equals only if all the mentioned are equals .
author: Martin Krauskopf |
ModuleDependency | public ModuleDependency(ModuleEntry me)(Code) | | Creates a new instance based on the given entry. The instance will be
initialized with given entry's release and specification versions.
Compile dependency is set to true by default, implementation version to
false.
|
getFilterTokens | Set<String> getFilterTokens(String dependingModuleCNB)(Code) | | Return a set of tokens that can be used to search for this dependency.
Per UI spec, includes lower-case versions of:
- the code name base
- the localized display name
- the full path to the module JAR or any Class-Path extension
- the fully-qualified class name (use . for inner classes) of any class
contained in the module JAR or any Class-Path extension which is in an package
which would be made available to the depending module when using a specification version dependency
Note that the last item means that this can behave differently according to the depending
module (according to whether or not it would be listed as a friend).
Parameters: dependingModuleCNB - the CNB of the module depending on this one |
getReleaseVersion | public String getReleaseVersion()(Code) | | Get the major release version.
null for none or the version. |
getSpecificationVersion | public String getSpecificationVersion()(Code) | | |
hasCompileDependency | public boolean hasCompileDependency()(Code) | | |
hasImplementationDepedendency | public boolean hasImplementationDepedendency()(Code) | | |
hashCode | public int hashCode()(Code) | | |
|
|