Class: FluentCommandBuilder::DotCover::V21::Analyse

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/dotcover_21.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, configuration_file = nil) ⇒ Analyse

Returns a new instance of Analyse.



61
62
63
64
65
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 61

def initialize(underlying_builder, configuration_file=nil)
  super underlying_builder
  @b.append ' analyse'
  @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
end

Instance Method Details

#analyse_target_arguments(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


66
67
68
69
70
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 66

def analyse_target_arguments(bool)
  @b.append " /analyseTargetArguments=#{@b.format bool}"
  yield @b if block_given?
  self
end

#attribute_filters(filters) {|@b| ... } ⇒ Object

Yields:

  • (@b)


71
72
73
74
75
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 71

def attribute_filters(filters)
  @b.append " /attributeFilters=#{@b.format filters, ';'}"
  yield @b if block_given?
  self
end

#filters(filters) {|@b| ... } ⇒ Object

Yields:

  • (@b)


76
77
78
79
80
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 76

def filters(filters)
  @b.append " /filters=#{@b.format filters, ';'}"
  yield @b if block_given?
  self
end

#inherit_console(bool) {|@b| ... } ⇒ Object

Yields:

  • (@b)


81
82
83
84
85
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 81

def inherit_console(bool)
  @b.append " /inheritConsole=#{@b.format bool}"
  yield @b if block_given?
  self
end

#log_file(log_file) {|@b| ... } ⇒ Object

Yields:

  • (@b)


86
87
88
89
90
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 86

def log_file(log_file)
  @b.append " /logFile=#{@b.format log_file}"
  yield @b if block_given?
  self
end

#output(snapshot_path) {|@b| ... } ⇒ Object

Yields:

  • (@b)


91
92
93
94
95
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 91

def output(snapshot_path)
  @b.append " /output=#{@b.format snapshot_path}"
  yield @b if block_given?
  self
end

#report_type(report_type) {|@b| ... } ⇒ Object

Yields:

  • (@b)


96
97
98
99
100
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 96

def report_type(report_type)
  @b.append " /reportType=#{@b.format report_type}"
  yield @b if block_given?
  self
end

#target_arguments(target_arguments) {|@b| ... } ⇒ Object

Yields:

  • (@b)


101
102
103
104
105
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 101

def target_arguments(target_arguments)
  @b.append " /targetArguments=#{@b.format target_arguments}"
  yield @b if block_given?
  self
end

#target_executable(target_executable) {|@b| ... } ⇒ Object

Yields:

  • (@b)


106
107
108
109
110
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 106

def target_executable(target_executable)
  @b.append " /targetExecutable=#{@b.format target_executable}"
  yield @b if block_given?
  self
end

#target_working_dir(target_working_dir) {|@b| ... } ⇒ Object

Yields:

  • (@b)


111
112
113
114
115
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 111

def target_working_dir(target_working_dir)
  @b.append " /targetWorkingDir=#{@b.format target_working_dir}"
  yield @b if block_given?
  self
end

#temp_dir(temp_dir) {|@b| ... } ⇒ Object

Yields:

  • (@b)


116
117
118
119
120
# File 'lib/fluent_command_builder/command_builders/dotcover_21.rb', line 116

def temp_dir(temp_dir)
  @b.append " /tempDir=#{@b.format temp_dir}"
  yield @b if block_given?
  self
end