Class: FluentCommandBuilder::MSDeploy::V71::MSDeploy
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::MSDeploy::V71::MSDeploy
show all
- Defined in:
- lib/fluent_command_builder/command_builders/msdeploy_71.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder) ⇒ MSDeploy
Returns a new instance of MSDeploy.
25
26
27
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 25
def initialize(underlying_builder)
super underlying_builder
end
|
Instance Method Details
#allow_untrusted(bool) {|@b| ... } ⇒ Object
28
29
30
31
32
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 28
def allow_untrusted(bool)
@b.append " -allowUntrusted:#{@b.format bool}"
yield @b if block_given?
self
end
|
#app_host_config_dir(path) {|@b| ... } ⇒ Object
33
34
35
36
37
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 33
def app_host_config_dir(path)
@b.append " -appHostConfigDir:#{@b.format path}"
yield @b if block_given?
self
end
|
#declare_param(param) {|@b| ... } ⇒ Object
38
39
40
41
42
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 38
def declare_param(param)
@b.append " -declareParam:#{@b.format param, ',', '='}"
yield @b if block_given?
self
end
|
#declare_param_file(xml_file) {|@b| ... } ⇒ Object
43
44
45
46
47
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 43
def declare_param_file(xml_file)
@b.append " -declareParamFile:#{@b.format xml_file}"
yield @b if block_given?
self
end
|
#dest(provider) {|@b| ... } ⇒ Object
48
49
50
51
52
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 48
def dest(provider)
@b.append " -dest:#{@b.format provider}"
yield @b if block_given?
self
end
|
#disable_link(link_extension) {|@b| ... } ⇒ Object
53
54
55
56
57
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 53
def disable_link(link_extension)
@b.append " -disableLink:#{@b.format link_extension}"
yield @b if block_given?
self
end
|
#disable_rule(rule) {|@b| ... } ⇒ Object
58
59
60
61
62
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 58
def disable_rule(rule)
@b.append " -disableRule:#{@b.format rule, ','}"
yield @b if block_given?
self
end
|
#disable_skip_directive(skip_directive_name) {|@b| ... } ⇒ Object
63
64
65
66
67
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 63
def disable_skip_directive(skip_directive_name)
@b.append " -disableSkipDirective:#{@b.format skip_directive_name}"
yield @b if block_given?
self
end
|
#enable_link(link_extension) {|@b| ... } ⇒ Object
68
69
70
71
72
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 68
def enable_link(link_extension)
@b.append " -enableLink:#{@b.format link_extension}"
yield @b if block_given?
self
end
|
#enable_rule(rule) {|@b| ... } ⇒ Object
73
74
75
76
77
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 73
def enable_rule(rule)
@b.append " -enableRule:#{@b.format rule, ','}"
yield @b if block_given?
self
end
|
#enable_skip_directive(skip_directive_name) {|@b| ... } ⇒ Object
78
79
80
81
82
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 78
def enable_skip_directive(skip_directive_name)
@b.append " -enableSkipDirective:#{@b.format skip_directive_name}"
yield @b if block_given?
self
end
|
#post_sync(command) {|@b| ... } ⇒ Object
83
84
85
86
87
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 83
def post_sync(command)
@b.append " -postSync:#{@b.format command}"
yield @b if block_given?
self
end
|
#pre_sync(command) {|@b| ... } ⇒ Object
88
89
90
91
92
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 88
def pre_sync(command)
@b.append " -preSync:#{@b.format command}"
yield @b if block_given?
self
end
|
#remove_param(param) {|@b| ... } ⇒ Object
93
94
95
96
97
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 93
def remove_param(param)
@b.append " -removeParam:#{@b.format param}"
yield @b if block_given?
self
end
|
#replace(arg) {|@b| ... } ⇒ Object
98
99
100
101
102
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 98
def replace(arg)
@b.append " -replace:#{@b.format arg}"
yield @b if block_given?
self
end
|
#retry_attempts(number) {|@b| ... } ⇒ Object
103
104
105
106
107
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 103
def retry_attempts(number)
@b.append " -retryAttempts:#{@b.format number}"
yield @b if block_given?
self
end
|
#retry_interval(milliseconds) {|@b| ... } ⇒ Object
108
109
110
111
112
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 108
def retry_interval(milliseconds)
@b.append " -retryInterval:#{@b.format milliseconds}"
yield @b if block_given?
self
end
|
#set_param(param) {|@b| ... } ⇒ Object
113
114
115
116
117
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 113
def set_param(param)
@b.append " -setParam:#{@b.format param, ',', '='}"
yield @b if block_given?
self
end
|
#set_param_file(xml_file) {|@b| ... } ⇒ Object
118
119
120
121
122
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 118
def set_param_file(xml_file)
@b.append " -setParamFile:#{@b.format xml_file}"
yield @b if block_given?
self
end
|
#show_secure {|@b| ... } ⇒ Object
123
124
125
126
127
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 123
def show_secure
@b.append ' -showSecure'
yield @b if block_given?
self
end
|
#skip(arg) {|@b| ... } ⇒ Object
128
129
130
131
132
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 128
def skip(arg)
@b.append " -skip:#{@b.format arg}"
yield @b if block_given?
self
end
|
#source(provider) {|@b| ... } ⇒ Object
133
134
135
136
137
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 133
def source(provider)
@b.append " -source:#{@b.format provider}"
yield @b if block_given?
self
end
|
#unicode {|@b| ... } ⇒ Object
138
139
140
141
142
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 138
def unicode
@b.append ' -unicode'
yield @b if block_given?
self
end
|
#use_check_sum {|@b| ... } ⇒ Object
143
144
145
146
147
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 143
def use_check_sum
@b.append ' -useCheckSum'
yield @b if block_given?
self
end
|
#verb(verb_name) {|@b| ... } ⇒ Object
148
149
150
151
152
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 148
def verb(verb_name)
@b.append " -verb:#{@b.format verb_name}"
yield @b if block_given?
self
end
|
#verbose {|@b| ... } ⇒ Object
153
154
155
156
157
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 153
def verbose
@b.append ' -verbose'
yield @b if block_given?
self
end
|
#web_server_dir(path) {|@b| ... } ⇒ Object
158
159
160
161
162
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 158
def web_server_dir(path)
@b.append " -webServerDir:#{@b.format path}"
yield @b if block_given?
self
end
|
#whatif {|@b| ... } ⇒ Object
163
164
165
166
167
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 163
def whatif
@b.append ' -whatif'
yield @b if block_given?
self
end
|
#xml {|@b| ... } ⇒ Object
168
169
170
171
172
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 168
def xml
@b.append ' -xml'
yield @b if block_given?
self
end
|
#xpath(path) {|@b| ... } ⇒ Object
173
174
175
176
177
|
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 173
def xpath(path)
@b.append " -xpath:#{@b.format path}"
yield @b if block_given?
self
end
|