public class OptionLookup extends Object
Constructor and Description |
---|
OptionLookup() |
Modifier and Type | Method and Description |
---|---|
static String |
getActiveRuntimExpr(String name,
String value)
Gets the runtime source for the given option name:value pair.
|
static Iterable<String> |
getNames()
Gets the names known to the lookup service.
|
static boolean |
isDefined(String optionName)
Tests if an option name is defined.
|
static boolean |
isValidValue(String optionName,
String value)
Tests if a value is valid for the given option.
|
public static boolean isDefined(String optionName)
optionName
- the nametrue
if the name is defined; false
otherwisepublic static boolean isValidValue(String optionName, String value) throws UndefinedOptionException
optionName
- option namevalue
- the value as a Stringtrue
if the value is valid; false
otherwiseUndefinedOptionException
- if the name is not recognizedpublic static Iterable<String> getNames()
public static String getActiveRuntimExpr(String name, String value) throws UndefinedOptionException
name
- option namevalue
- option valueUndefinedOptionException
- if the name is not recognizedCopyright © 2006–2018 GeoSolutions. All rights reserved.