Class: FluentCommandBuilder::FastLinkChecker::V21::FastLinkChecker
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::FastLinkChecker::V21::FastLinkChecker
show all
- Defined in:
- lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder) ⇒ FastLinkChecker
Returns a new instance of FastLinkChecker.
25
26
27
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 25
def initialize(underlying_builder)
super underlying_builder
end
|
Instance Method Details
#attach {|@b| ... } ⇒ Object
218
219
220
221
222
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 218
def attach
@b.append ' -attach'
yield @b if block_given?
self
end
|
#auth(auth_type) {|@b| ... } ⇒ Object
58
59
60
61
62
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 58
def auth(auth_type)
@b.append " -auth #{@b.format auth_type}"
yield @b if block_given?
self
end
|
#cache {|@b| ... } ⇒ Object
183
184
185
186
187
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 183
def cache
@b.append ' --cache'
yield @b if block_given?
self
end
|
#check_first_only {|@b| ... } ⇒ Object
78
79
80
81
82
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 78
def check_first_only
@b.append ' -checkFirstOnly'
yield @b if block_given?
self
end
|
#check_hyperlinks {|@b| ... } ⇒ Object
33
34
35
36
37
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 33
def check_hyperlinks
@b.append ' -checkHyperlinks'
yield @b if block_given?
self
end
|
#check_ignore_case {|@b| ... } ⇒ Object
88
89
90
91
92
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 88
def check_ignore_case
@b.append ' -checkIgnoreCase'
yield @b if block_given?
self
end
|
#check_images {|@b| ... } ⇒ Object
38
39
40
41
42
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 38
def check_images
@b.append ' -checkImages'
yield @b if block_given?
self
end
|
#check_no_extern {|@b| ... } ⇒ Object
83
84
85
86
87
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 83
def check_no_extern
@b.append ' -checkNoExtern'
yield @b if block_given?
self
end
|
#check_only(wildcards) {|@b| ... } ⇒ Object
143
144
145
146
147
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 143
def check_only(wildcards)
@b.append " -checkOnly #{@b.format wildcards}"
yield @b if block_given?
self
end
|
#check_others {|@b| ... } ⇒ Object
43
44
45
46
47
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 43
def check_others
@b.append ' -checkOthers'
yield @b if block_given?
self
end
|
#check_parent_dir {|@b| ... } ⇒ Object
103
104
105
106
107
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 103
def check_parent_dir
@b.append ' -checkParentDir'
yield @b if block_given?
self
end
|
#check_restrict(check_level) {|@b| ... } ⇒ Object
118
119
120
121
122
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 118
def check_restrict(check_level)
@b.append " -checkRestrict #{@b.format check_level}"
yield @b if block_given?
self
end
|
#columns(columns) {|@b| ... } ⇒ Object
228
229
230
231
232
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 228
def columns(columns)
@b.append " -columns #{@b.format columns}"
yield @b if block_given?
self
end
|
#disp(server_name) {|@b| ... } ⇒ Object
53
54
55
56
57
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 53
def disp(server_name)
@b.append " -disp #{@b.format server_name}"
yield @b if block_given?
self
end
|
#email(email, port = nil, username = nil, password = nil) {|@b| ... } ⇒ Object
248
249
250
251
252
253
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 248
def email(email, port=nil, username=nil, password=nil)
@b.append " #{@b.format email}"
@b.append " smtpserver:#{@b.format port} #{@b.format username} #{@b.format_password password}" unless port.nil? or username.nil? or password.nil?
yield @b if block_given?
self
end
|
#filename(filename) {|@b| ... } ⇒ Object
243
244
245
246
247
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 243
def filename(filename)
@b.append " #{@b.format filename}"
yield @b if block_given?
self
end
|
#flc(flc_file) {|@b| ... } ⇒ Object
178
179
180
181
182
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 178
def flc(flc_file)
@b.append " --flc #{@b.format flc_file}"
yield @b if block_given?
self
end
|
#from(address) {|@b| ... } ⇒ Object
208
209
210
211
212
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 208
def from(address)
@b.append " -from #{@b.format address}"
yield @b if block_given?
self
end
|
#get_after_head_fail {|@b| ... } ⇒ Object
113
114
115
116
117
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 113
def get_after_head_fail
@b.append ' -getAfterHeadFail'
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
254
255
256
257
258
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 254
def help
@b.append ' -h'
yield @b if block_given?
self
end
|
#ignore_cookies {|@b| ... } ⇒ Object
93
94
95
96
97
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 93
def ignore_cookies
@b.append ' -ignoreCookies'
yield @b if block_given?
self
end
|
163
164
165
166
167
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 163
def ignore_form_tag
@b.append ' -ignoreFormTag'
yield @b if block_given?
self
end
|
#ignore_relative {|@b| ... } ⇒ Object
108
109
110
111
112
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 108
def ignore_relative
@b.append ' -ignoreRelative'
yield @b if block_given?
self
end
|
#ignore_robots_txt {|@b| ... } ⇒ Object
73
74
75
76
77
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 73
def ignore_robots_txt
@b.append ' -ignoreRobotsTxt'
yield @b if block_given?
self
end
|
#ini(ini_file) {|@b| ... } ⇒ Object
173
174
175
176
177
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 173
def ini(ini_file)
@b.append " --ini #{@b.format ini_file}"
yield @b if block_given?
self
end
|
#limit_links(link_type, n) {|@b| ... } ⇒ Object
133
134
135
136
137
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 133
def limit_links(link_type, n)
@b.append " -limitLinks #{@b.format link_type} #{@b.format n}"
yield @b if block_given?
self
end
|
#not_ignore_spaces {|@b| ... } ⇒ Object
168
169
170
171
172
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 168
def not_ignore_spaces
@b.append ' -notIgnoreSpaces'
yield @b if block_given?
self
end
|
#not_ignore_www {|@b| ... } ⇒ Object
98
99
100
101
102
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 98
def not_ignore_www
@b.append ' -notIgnoreWww'
yield @b if block_given?
self
end
|
#password(password) {|@b| ... } ⇒ Object
68
69
70
71
72
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 68
def password(password)
@b.append " -pwd #{@b.format_password password}"
yield @b if block_given?
self
end
|
#print_broken {|@b| ... } ⇒ Object
193
194
195
196
197
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 193
def print_broken
@b.append ' --printBroken'
yield @b if block_given?
self
end
|
#recheck_bad(recheck_times) {|@b| ... } ⇒ Object
48
49
50
51
52
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 48
def recheck_bad(recheck_times)
@b.append " -recheckBad #{@b.format recheck_times}"
yield @b if block_given?
self
end
|
#report(report_type) {|@b| ... } ⇒ Object
203
204
205
206
207
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 203
def report(report_type)
@b.append " --report #{@b.format report_type}"
yield @b if block_given?
self
end
|
#site(url) {|@b| ... } ⇒ Object
28
29
30
31
32
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 28
def site(url)
@b.append " --site #{@b.format url}"
yield @b if block_given?
self
end
|
#size_limit_above {|@b| ... } ⇒ Object
123
124
125
126
127
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 123
def size_limit_above
@b.append ' -sizeLimitAbove'
yield @b if block_given?
self
end
|
#size_limit_below(size_limit_kb) {|@b| ... } ⇒ Object
128
129
130
131
132
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 128
def size_limit_below(size_limit_kb)
@b.append " -sizeLimitBelow #{@b.format size_limit_kb}"
yield @b if block_given?
self
end
|
#skip_bookmarks(bookmarks) {|@b| ... } ⇒ Object
158
159
160
161
162
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 158
def skip_bookmarks(bookmarks)
@b.append " -skipBookmarks #{@b.format bookmarks, ';'}"
yield @b if block_given?
self
end
|
#skip_domains(domains) {|@b| ... } ⇒ Object
153
154
155
156
157
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 153
def skip_domains(domains)
@b.append " -skipDomains #{@b.format domains, ';'}"
yield @b if block_given?
self
end
|
#skip_files(wildcards) {|@b| ... } ⇒ Object
148
149
150
151
152
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 148
def skip_files(wildcards)
@b.append " -skipFiles #{@b.format wildcards}"
yield @b if block_given?
self
end
|
#skip_slow_links {|@b| ... } ⇒ Object
138
139
140
141
142
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 138
def skip_slow_links
@b.append ' -skipSlowLinks'
yield @b if block_given?
self
end
|
#sort(sort_columns) {|@b| ... } ⇒ Object
233
234
235
236
237
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 233
def sort(sort_columns)
@b.append " -sort #{@b.format sort_columns}"
yield @b if block_given?
self
end
|
#start_tls {|@b| ... } ⇒ Object
223
224
225
226
227
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 223
def start_tls
@b.append ' -startTls'
yield @b if block_given?
self
end
|
#subject(subject) {|@b| ... } ⇒ Object
213
214
215
216
217
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 213
def subject(subject)
@b.append " -subject #{@b.format subject}"
yield @b if block_given?
self
end
|
#unprocessed {|@b| ... } ⇒ Object
238
239
240
241
242
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 238
def unprocessed
@b.append ' -unprocessed'
yield @b if block_given?
self
end
|
#user_agent(agent_name) {|@b| ... } ⇒ Object
198
199
200
201
202
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 198
def user_agent(agent_name)
@b.append " --userAgent #{@b.format agent_name}"
yield @b if block_given?
self
end
|
#username(username) {|@b| ... } ⇒ Object
63
64
65
66
67
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 63
def username(username)
@b.append " -user #{@b.format username}"
yield @b if block_given?
self
end
|
#verbosely {|@b| ... } ⇒ Object
188
189
190
191
192
|
# File 'lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb', line 188
def verbosely
@b.append ' --verbosely'
yield @b if block_given?
self
end
|