Class ModuleSpec

    • Method Detail

      • build

        public static ModuleSpec.Builder build​(String name)
        Get a builder for a new module specification.
        Parameters:
        name - the module name
        Returns:
        the builder
      • buildAlias

        public static ModuleSpec.AliasBuilder buildAlias​(String name,
                                                         String aliasName)
        Get a builder for a new module alias specification.
        Parameters:
        name - the module name
        aliasName - the alias target name
        Returns:
        the builder
      • getModuleIdentifier

        public ModuleIdentifier getModuleIdentifier()
        Deprecated.
        Use getName() instead.
        Get the module identifier for the module which is specified by this object.
        Returns:
        the module identifier
      • getName

        public String getName()
        Get the module name for the module which is specified by this object.
        Returns:
        the module name