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:
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaults
(IDMap idMap, ExceptionMap exceptionMap) Returns a set of default values given the configuration described by the specified IDMap.
-
Method Details
-
getDefaults
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:
-