Class DevelopmentOptionsUtil

java.lang.Object
com._1c.g5.v8.dt.internal.team.infobases.DevelopmentOptionsUtil

public final class DevelopmentOptionsUtil extends Object
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 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 be null
      option - an option to get, cannot be null
      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 DevelopmentProcessException
      Require an option from the provided development options.
      Parameters:
      options - the development options, cannot be null
      option - an option to get, cannot be null
      Returns:
      the required option value, never null
      Throws:
      DevelopmentProcessException - if an option for the provided key not found