- java.lang.Object
-
- uk.autores.handling.ConfigDef
-
public final class ConfigDef extends Object
Defines the configuration supported by aHandler
.- See Also:
Handler.config()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(String value)
Tests validity of value.String
key()
Configuration key.
-
-
-
Method Detail
-
key
public String key()
Configuration key.- Returns:
- config key name
- See Also:
ResourceFiles.Cfg.key()
,Config.key()
-
isValid
public boolean isValid(String value)
Tests validity of value.- Parameters:
value
- the value to test- Returns:
- true if the value is valid or false otherwise
- See Also:
ResourceFiles.Cfg.value()
,Config.value()
-
-