Module: AssLauncher::Enterprise::Cli Private
- Defined in:
- lib/ass_launcher/enterprise/cli.rb,
lib/ass_launcher/enterprise/cli/spec_dsl.rb,
lib/ass_launcher/enterprise/cli/parameters.rb,
lib/ass_launcher/enterprise/cli/binary_matcher.rb,
lib/ass_launcher/enterprise/cli/arguments_builder.rb,
lib/ass_launcher/enterprise/cli/spec_dsl/dsl_helpers.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
1C:Enterprise cli api wrapper
Defined Under Namespace
Modules: Parameters, SpecDsl Classes: ArgumentsBuilder, BinaryMatcher, CliSpec
Constant Summary collapse
- DEFINED_MODES =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Run modes defined for 1C Enterprise clients
[ :createinfobase, :enterprise, :designer, :webclient ].freeze
Class Method Summary collapse
-
.defined_modes_for(klass) ⇒ Array<Symbol>
private
Return suitable run_mode see DEFINED_MODES for 1c client.
Class Method Details
.defined_modes_for(klass) ⇒ Array<Symbol>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return suitable run_mode see DEFINED_MODES for 1c client
26 27 28 29 30 31 |
# File 'lib/ass_launcher/enterprise/cli.rb', line 26 def self.defined_modes_for(klass) return [DEFINED_MODES[1]] if klass == BinaryWrapper::ThinClient return DEFINED_MODES - [:webclient]\ if klass == BinaryWrapper::ThickClient return [DEFINED_MODES.last] if klass == WebClient end |