Package org.eclipse.jetty.start.config
Interface ConfigSource
-
- All Known Implementing Classes:
CommandLineConfigSource,DirConfigSource,JettyBaseConfigSource,JettyHomeConfigSource
public interface ConfigSourceA Configuration Source
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RawArgsgetArgs()The list of Arguments for this ConfigSourceStringgetId()The identifier for this source.StringgetProperty(String key)Return the value of the specified property.PropsgetProps()The properties for this ConfigSourcedefault Set<StartIni>getStartInis()intgetWeight()The weight of this source, used for proper ordering of the config source search order.
-
-
-
Method Detail
-
getId
String getId()
The identifier for this source.Used in end-user display of the source.
- Returns:
- the configuration source identifier.
-
getWeight
int getWeight()
The weight of this source, used for proper ordering of the config source search order.Recommended Weights:
-1 = the command line 0 = the ${jetty.base} source [1..n] = include-jetty-dir entries from command line [n+1..n] = include-jetty-dir entries from start.ini (or start.d/*.ini) 9999999 = the ${jetty.home} source- Returns:
- the weight of the config source. (lower value is more important)
-
getArgs
RawArgs getArgs()
The list of Arguments for this ConfigSource- Returns:
- the list of Arguments for this ConfigSource
-
getProps
Props getProps()
The properties for this ConfigSource- Returns:
- the properties for this ConfigSource
-
getProperty
String getProperty(String key)
Return the value of the specified property.- Parameters:
key- the key to lookup- Returns:
- the value of the property, or null if not found
-
-