Class ModuleSpec

    • Method Detail

      • build

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

        public static ModuleSpec.AliasBuilder buildAlias​(ModuleIdentifier moduleIdentifier,
                                                         ModuleIdentifier aliasTarget)
        Get a builder for a new module alias specification.
        Parameters:
        moduleIdentifier - the module identifier
        aliasTarget - the alias target identifier
        Returns:
        the builder
      • getModuleIdentifier

        public ModuleIdentifier getModuleIdentifier()
        Get the module identifier for the module which is specified by this object.
        Returns:
        the module identifier