Class DevelopmentOptionsUtil
java.lang.Object
com._1c.g5.v8.dt.internal.team.infobases.DevelopmentOptionsUtil
Utility methods to work with development options.
- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
requireOption
(DevelopmentOptions options, String option) Require an option from the provided development options.static String
requireOption
(Map<String, String> options, String option) Require an option from the provided development options.
-
Method Details
-
requireOption
public static String requireOption(DevelopmentOptions options, String option) throws DevelopmentProcessException Require an option from the provided development options.- Parameters:
options
- the development options, cannot benull
option
- an option to get, cannot benull
- Returns:
- the required option value, never
null
- Throws:
DevelopmentProcessException
- if an option for the provided key not found
-
requireOption
public static String requireOption(Map<String, String> options, String option) throws DevelopmentProcessExceptionRequire an option from the provided development options.- Parameters:
options
- the development options, cannot benull
option
- an option to get, cannot benull
- Returns:
- the required option value, never
null
- Throws:
DevelopmentProcessException
- if an option for the provided key not found
-