Package org.eclipse.jetty.start.config
Class ConfigSources
- java.lang.Object
-
- org.eclipse.jetty.start.config.ConfigSources
-
- All Implemented Interfaces:
Iterable<ConfigSource>
public class ConfigSources extends Object implements Iterable<ConfigSource>
Weighted List of ConfigSources.
-
-
Constructor Summary
Constructors Constructor Description ConfigSources()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(ConfigSource source)CommandLineConfigSourcegetCommandLineSource()Props.PropgetProp(String key)PropsgetProps()Iterator<ConfigSource>iterator()ListIterator<ConfigSource>reverseListIterator()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
add
public void add(ConfigSource source) throws IOException
- Throws:
IOException
-
getCommandLineSource
public CommandLineConfigSource getCommandLineSource()
-
getProp
public Props.Prop getProp(String key)
-
getProps
public Props getProps()
-
iterator
public Iterator<ConfigSource> iterator()
- Specified by:
iteratorin interfaceIterable<ConfigSource>
-
reverseListIterator
public ListIterator<ConfigSource> reverseListIterator()
-
-