Class ModuleSpec

    • Method Detail

      • build

        @Deprecated
        public static ModuleSpec.Builder build​(ModuleIdentifier moduleIdentifier)
        Deprecated.
        Use build(String) instead.
        Get a builder for a new module specification.
        Parameters:
        moduleIdentifier - the module identifier
        Returns:
        the builder
      • build

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

        public static ModuleSpec.AliasBuilder buildAlias​(java.lang.String name,
                                                         java.lang.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

        @Deprecated
        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 java.lang.String getName()
        Get the module name for the module which is specified by this object.
        Returns:
        the module name