Class ModuleDependencySpec


  • public final class ModuleDependencySpec
    extends DependencySpec
    A dependency specification on a module.
    • Method Detail

      • getModuleLoader

        public ModuleLoader getModuleLoader()
        Get the module loader of this dependency, or null if the defined module's loader is to be used.
        Returns:
        the module loader
      • getIdentifier

        public ModuleIdentifier getIdentifier()
        Get the module identifier of the dependency.
        Returns:
        the module identifier
      • isOptional

        public boolean isOptional()
        Determine whether this dependency is optional.
        Returns:
        true if the dependency is optional, false if it is required