Interface AddonModule.ModuleOrigin

All Superinterfaces:
Origin, Origin.AddonOrigin
Enclosing interface:
AddonModule

public static sealed interface AddonModule.ModuleOrigin extends Origin.AddonOrigin
An origin to be used for something provided by one or more modules of an addon.
  • Method Details

    • modules

      @Unmodifiable SequencedCollection<AddonModule> modules()
      Returns:
      The providing modules for this origin, in order from most specific to least.
    • moduleName

      @Deprecated(since="2.15", forRemoval=true) default String moduleName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use modules() and call AddonModule.name() on each.
      Returns:
      The names of the modules providing this origin, in order from most specific to least.