Class Modules

java.lang.Object
org.eclipse.jetty.start.Modules
All Implemented Interfaces:
Iterable<Module>

public class Modules extends Object implements Iterable<Module>
Access for all modules declared, as well as what is enabled.
  • Constructor Details

  • Method Details

    • showModules

      public void showModules(List<String> modules)
    • listModules

      public void listModules(List<String> tags)
    • listEnabled

      public void listEnabled()
    • registerAll

      public void registerAll() throws IOException
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getEnabled

      public List<Module> getEnabled()
    • getSortedAll

      public List<Module> getSortedAll()
    • getSortedNames

      public List<String> getSortedNames(List<String> enabledModules)
    • enable

      public Set<String> enable(String name, String enabledFrom)
      Enable a module
      Parameters:
      name - The name of the module to enable
      enabledFrom - The source the module was enabled from
      Returns:
      The set of modules newly enabled
    • get

      public Module get(String name)
    • iterator

      public Iterator<Module> iterator()
      Specified by:
      iterator in interface Iterable<Module>
    • stream

      public Stream<Module> stream()
    • checkEnabledModules

      public void checkEnabledModules()