Package com.martiansoftware.jsap
Interface DefaultSource
-
- All Known Implementing Classes:
PropertyDefaultSource
public interface DefaultSource
An interface describing an object as being able to produce a set of default values.- Author:
- Marty Lamb
- See Also:
Defaults
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Defaults
getDefaults(IDMap idMap, ExceptionMap exceptionMap)
Returns a set of default values given the configuration described by the specified IDMap.
-
-
-
Method Detail
-
getDefaults
Defaults getDefaults(IDMap idMap, ExceptionMap exceptionMap)
Returns a set of default values given the configuration described by the specified IDMap. Any encountered exceptions are stored in the specified JSAPResult.- Parameters:
idMap
- an IDMap containing JSAP configuration information.exceptionMap
- the ExceptionMap object within which any Exceptions will be returned.- Returns:
- a set of default values given the configuration described by the specified IDMap.
- See Also:
ExceptionMap.addException(String,Exception)
-
-