Class: FluentCommandBuilder::InstallUtil::V40::InstallUtil
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::InstallUtil::V40::InstallUtil
- Defined in:
- lib/fluent_command_builder/command_builders/installutil_40.rb
Instance Method Summary collapse
- #assembly_file_name(assembly_file_name) {|@builder| ... } ⇒ Object
- #assembly_strong_name(assembly_name) {|@builder| ... } ⇒ Object
- #help(assembly_path = nil) {|@builder| ... } ⇒ Object
-
#initialize(builder) ⇒ InstallUtil
constructor
A new instance of InstallUtil.
- #install_state_dir(directory_name = nil) {|@builder| ... } ⇒ Object
- #log_file(file_name = nil) {|@builder| ... } ⇒ Object
- #log_to_console(bool) {|@builder| ... } ⇒ Object
- #show_call_stack {|@builder| ... } ⇒ Object
- #uninstall {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ InstallUtil
Returns a new instance of InstallUtil.
9 10 11 |
# File 'lib/fluent_command_builder/command_builders/installutil_40.rb', line 9 def initialize(builder) super builder end |
Instance Method Details
#assembly_file_name(assembly_file_name) {|@builder| ... } ⇒ Object
50 51 52 53 54 |
# File 'lib/fluent_command_builder/command_builders/installutil_40.rb', line 50 def assembly_file_name(assembly_file_name) @builder.append " #{@builder.format assembly_file_name}" yield @builder if block_given? self end |
#assembly_strong_name(assembly_name) {|@builder| ... } ⇒ Object
18 19 20 21 22 |
# File 'lib/fluent_command_builder/command_builders/installutil_40.rb', line 18 def assembly_strong_name(assembly_name) @builder.append " /assemblyName=#{@builder.format assembly_name}" yield @builder if block_given? self end |
#help(assembly_path = nil) {|@builder| ... } ⇒ Object
12 13 14 15 16 17 |
# File 'lib/fluent_command_builder/command_builders/installutil_40.rb', line 12 def help(assembly_path=nil) @builder.append ' /help' @builder.append " #{@builder.format assembly_path}" unless assembly_path.nil? yield @builder if block_given? self end |
#install_state_dir(directory_name = nil) {|@builder| ... } ⇒ Object
23 24 25 26 27 28 |
# File 'lib/fluent_command_builder/command_builders/installutil_40.rb', line 23 def install_state_dir(directory_name=nil) @builder.append ' /installStateDir' @builder.append "=#{@builder.format directory_name}" unless directory_name.nil? yield @builder if block_given? self end |
#log_file(file_name = nil) {|@builder| ... } ⇒ Object
29 30 31 32 33 34 |
# File 'lib/fluent_command_builder/command_builders/installutil_40.rb', line 29 def log_file(file_name=nil) @builder.append ' /logFile' @builder.append "=#{@builder.format file_name}" unless file_name.nil? yield @builder if block_given? self end |
#log_to_console(bool) {|@builder| ... } ⇒ Object
35 36 37 38 39 |
# File 'lib/fluent_command_builder/command_builders/installutil_40.rb', line 35 def log_to_console(bool) @builder.append " /logToConsole=#{@builder.format bool}" yield @builder if block_given? self end |
#show_call_stack {|@builder| ... } ⇒ Object
40 41 42 43 44 |
# File 'lib/fluent_command_builder/command_builders/installutil_40.rb', line 40 def show_call_stack @builder.append ' /showCallStack' yield @builder if block_given? self end |
#uninstall {|@builder| ... } ⇒ Object
45 46 47 48 49 |
# File 'lib/fluent_command_builder/command_builders/installutil_40.rb', line 45 def uninstall @builder.append ' /uninstall' yield @builder if block_given? self end |