Package org.eclipse.jetty.start
Class Modules
- java.lang.Object
-
- org.eclipse.jetty.start.Modules
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkEnabledModules()
void
dump(java.util.List<java.lang.String> tags)
void
dumpEnabled()
java.util.Set<java.lang.String>
enable(java.lang.String name, java.lang.String enabledFrom)
Enable a moduleModule
get(java.lang.String name)
java.util.List<Module>
getEnabled()
java.util.Iterator<Module>
iterator()
void
registerAll()
java.util.stream.Stream<Module>
stream()
java.lang.String
toString()
-
-
-
Method Detail
-
dump
public void dump(java.util.List<java.lang.String> tags)
-
dumpEnabled
public void dumpEnabled()
-
registerAll
public void registerAll() throws java.io.IOException
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getEnabled
public java.util.List<Module> getEnabled()
-
enable
public java.util.Set<java.lang.String> enable(java.lang.String name, java.lang.String enabledFrom)
Enable a module- Parameters:
name
- The name of the module to enableenabledFrom
- The source the module was enabled from- Returns:
- The set of modules newly enabled
-
get
public Module get(java.lang.String name)
-
iterator
public java.util.Iterator<Module> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<Module>
-
stream
public java.util.stream.Stream<Module> stream()
-
checkEnabledModules
public void checkEnabledModules()
-
-