Class AbstractExecutionCommandBuilder<R extends AbstractExecutionCommandBuilder<R>>

    • Method Detail

      • sessionLocale

        public R sessionLocale​(Locale locale)
        Add session locale option to constructing command.
        Parameters:
        infobase - the infobase to use, cannot be null
        Returns:
        a reference to this command builder, never null
      • interfaceLanguage

        public R interfaceLanguage​(String languageCode)
        Add interface language option to constructing command.
        Parameters:
        languageCode - the interface language code to use, cannot be null
        Returns:
        a reference to this command builder, never null
      • userName

        public R userName​(String userName)
        Add user name option to constructing command.
        Parameters:
        userName - the user name to add. If the user name is null or empty then option and its value will be removed from the command if present
        Returns:
        a reference to this command builder, never null
      • userPassword

        public R userPassword​(String userPassword)
        Add user password option to constructing command.
        Parameters:
        userPassword - the user password to add. If the user password is null or empty then option and its value will be removed from the command if present
        Returns:
        a reference to this command builder, never null
      • enableDebug

        public R enableDebug​(String debugServerUrl,
                             boolean autoAttach)
        Add debug enablement option to constructing command.
        Parameters:
        debugServerUrl - the 1C:Enterprise debug server URL, cannot be null
        autoAttach - whether need to auto-attach launching debug target
        Returns:
        a reference to this command builder, never null
      • withConnectionSpeed

        public R withConnectionSpeed​(ClientConnectionSpeed clientConnectionSpeed)
        Add 1C:Enterprise client connection speed command option.
        Parameters:
        clientConnectionSpeed - the client connection speed to define, cannot be null
        Returns:
        a reference to this command builder, never null
      • enableCheckModal

        public R enableCheckModal()
        Add the enable 1C:Enterprise client strict check of modal methods calls option.
        Returns:
        a reference to this command builder, never null
      • enableCheckExtensionsAndAddInsSyncCalls

        public R enableCheckExtensionsAndAddInsSyncCalls()
        Add the enable 1C:Enterprise client strict check of file extensions, cryptography extensions and add-ins synchronous calls option (thin and web clients only).
        Returns:
        a reference to this command builder, never null
      • disableStartupMessages

        public R disableStartupMessages()
        Add the disable 1C:Enterprise client startup warning messages command option.
        Returns:
        a reference to this command builder, never null
      • disableStartupDialogs

        public R disableStartupDialogs()
        Add the disable 1C:Enterprise client startup dialog and force target infobase usage command option instead of possibility to ask user for infobase selection.
        Returns:
        a reference to this command builder, never null
      • displayPerformance

        public R displayPerformance()
        Add the display performance in launched 1C:Enterprise client command option.
        Returns:
        a reference to this command builder, never null
      • displayAllFunctions

        public R displayAllFunctions()
        Add the display "All functions" fuction in the launched 1C:Enterprise client command option.
        Returns:
        a reference to this command builder, never null
      • technicalSpecialistMode

        public R technicalSpecialistMode()
        Enables "Fuctions for technician" command in "Service" and settings menu.
        Returns:
        a reference to this command builder, never null
      • startupOption

        public R startupOption​(String startupOption)
        Add the startup option to the launched 1C:Enterprise client.
        Returns:
        a reference to this command builder, never null
      • dataSeparation

        public R dataSeparation​(String serarators)
        Add the data separation option to the launched 1C:Enterprise client.
        Parameters:
        serarators - the String represented data separators, divided by comma, never null
        Returns:
        a reference to this command builder, never null
      • pwaAppName

        public R pwaAppName​(String name)
        Add Progressive web application name to constructing command.
        Parameters:
        name - PWA name, can be null
        Returns:
        a reference to this command builder, never null
      • osAuthentication

        public R osAuthentication​(boolean enable)
        Add the OS authentication option to constructing command. If the option is already present in the command its value will be changed.
        Parameters:
        enable - whether need to enable OS authentication
        Returns:
        a reference to this command builder, never null
      • execute

        public R execute​(String externalDataFile)
        Add the start an external data processor in 1C:Enterprise mode immediately after startup option to constructing command.
        Parameters:
        externalDataFile - the external data dump file, cannot be null
        Returns:
        a reference to this command builder, never null
      • urlFragment

        public R urlFragment​(String urlFragment)
        Add e1cib transfering URL fragment option to constructing command.
        Parameters:
        urlFragment - the e1cib transfering URL fragment, cannot be null
        Returns:
        a reference to this command builder, never null
      • disableHomePageForms

        public R disableHomePageForms()
        Add command option to force 1C:Enterprise client to show home page forms in disabled state.
        Returns:
        a reference to this command builder, never null
      • mainWindowMode

        public R mainWindowMode​(ClientLaunchMode clientLaunchMode)
        Add command option to set 1C:Enterprise client window launch mode.
        Parameters:
        clientLaunchMode - the mode to set, cannot be null
        Returns:
        a reference to this command builder, never null
      • append

        protected R append​(String string)
        Append the provided string as is to the command builder.
        Parameters:
        string - the string to append, cannot be null
        Returns:
        a reference to this command builder, never null
      • appendOption

        protected R appendOption​(String option)
        Append the provided option to the the command builder.
        Parameters:
        option - the string option to append, cannot be null
        Returns:
        a reference to this command builder, never null
      • appendOptionParameter

        protected R appendOptionParameter​(String optionParameter,
                                          String... values)
        Append the provided option parameter to the command builder.
        Parameters:
        optionParameter - the string option parameter to append, cannot be null
        values - an optional parameter values, cannot be null, may be empty
        Returns:
        a reference to this command builder, never null
      • commands

        protected List<String> commands()
        Build string-presented ready-to-use command.
        Returns:
        string-presented ready-to-use command
      • self

        protected R self()
        Returns a reference to this command builder.
        Returns:
        a reference to this command builder, never null
      • appendOption

        protected abstract void appendOption​(List<String> commands,
                                             String option)
        Append the provided option to the the command builder. Subclass must implement.
        Parameters:
        builder - the string builder to append command option to, cannot be null
        option - option to append, cannot be null
      • appendOptionParameter

        protected abstract void appendOptionParameter​(List<String> commands,
                                                      String optionParameter)
        Append the provided option parameter to the command builder. Subclass must implement.
        Parameters:
        builder - the string builder to append command option parameter to, cannot be null
        optionParameter - option parameter to append, cannot be null