def save(properties)
if (@params['access_log_format'] == nil) then
raise 'not allowed nil'
end
if (@params['access_log_format'].strip.empty?) then
raise 'not allowd empty string'
end
for attrs in @params['access_logs']
if (attrs['path'] == nil) then
raise 'not allowed nil'
end
if (attrs['path'].strip.empty?) then
raise 'not allowed empty string'
end
if (attrs['format'] == nil) then
raise 'not allowed nil'
end
if (attrs['format'].strip.empty?) then
raise 'not allowed empty string'
end
end
properties.set_params(@params)
nil
end