def set_content_type(self, content_type):
     ValueChecker.is_string(content_type)
     self.__content_type = content_type
     return self
Esempio n. 2
0
 def set_skip_fake_fs(self, enabled):
     ValueChecker.is_bool(enabled)
     self.__skip_fake_fs = enabled
     return self
Esempio n. 3
0
 def set_partition(self, partition):
     ValueChecker.is_string(partition)
     self.__partition = partition
     return self
Esempio n. 4
0
 def set_all(self, enabled):
     ValueChecker.is_bool(enabled)
     self.__all = enabled
     return self
Esempio n. 5
0
 def set_stat_remote_fs(self, enabled):
     ValueChecker.is_bool(enabled)
     self.__stat_remote_fs = enabled
     return self
Esempio n. 6
0
 def set_newlines(self, enabled):
     ValueChecker.is_bool(enabled)
     self.__newlines = enabled
     return self
Esempio n. 7
0
 def set_freespace_ignore_reserved(self, enabled):
     ValueChecker.is_bool(enabled)
     self.__freespace_ignore_reserved = enabled
     return self
 def set_header(self, header):
     ValueChecker.is_array(header)
     self.__header = header
     return self
 def set_extended_perfdata(self, enabled):
     ValueChecker.is_bool(enabled)
     self.__extended_perfdata = enabled
     return self
 def set_invert_regex(self, invert_regex):
     ValueChecker.is_bool(invert_regex)
     self.__invert_regex = invert_regex
     return self
 def set_useragent(self, agent):
     ValueChecker.is_string(agent)
     self.__useragent = agent
     return self
 def set_regex_case_insensitive(self, regex_case_insensitive):
     ValueChecker.is_string(regex_case_insensitive)
     self.__eregi = regex_case_insensitive
     return self
 def set_regex(self, regex):
     ValueChecker.is_string(regex)
     self.__regex = regex
     return self
 def set_linespan(self, linespan):
     ValueChecker.is_bool(linespan)
     self.__linespan = linespan
     return self
Esempio n. 15
0
 def set_critical_inode_percent(self, number):
     ValueChecker.is_number(number)
     self.__inode_critical = number
     return self
 def set_onredirect(self, onredirect):
     ValueChecker.is_string(onredirect)
     self.__onredirect = onredirect
     return self
Esempio n. 17
0
 def set_timeout(self, number):
     ValueChecker.is_number(number)
     self.__timeout = number
     return self
 def set_warning_response_time(self, time):
     ValueChecker.is_number(time)
     self.__warning = time
     return self
Esempio n. 19
0
 def set_clear_thresholds(self, enabled):
     ValueChecker.is_bool(enabled)
     self.__clear_thresholds = enabled
     return self
 def set_critical_response_time(self, time):
     ValueChecker.is_number(time)
     self.__critical = time
     return self
Esempio n. 21
0
 def set_errors_only(self, enabled):
     ValueChecker.is_bool(enabled)
     self.__errors_only = enabled
     return self
 def set_timeout(self, seconds):
     ValueChecker.is_number(seconds)
     self.__timeout = seconds
     return self
Esempio n. 23
0
 def set_display_mountpoint(self, enabled):
     ValueChecker.is_bool(enabled)
     self.__display_mountpoint = enabled
     return self
    def set_vhost(self, vhost):
        ValueChecker.is_string(vhost)
        self.__vhost = vhost

        return self
Esempio n. 25
0
 def set_inode_perfdata(self, enabled):
     ValueChecker.is_bool(enabled)
     self.__inode_perfdata = enabled
     return self
    def set_ip(self, ip):
        ValueChecker.is_string(ip)
        self.__ip = ip

        return self
Esempio n. 27
0
 def set_exclude_device(self, exclude_device):
     ValueChecker.is_string(exclude_device)
     self.__exclude_device = exclude_device
     return self
Esempio n. 28
0
 def set_warning_inode_percent(self, number):
     ValueChecker.is_number(number)
     self.__inode_warning = number
     return self
Esempio n. 29
0
 def set_group(self, group):
     ValueChecker.is_string(group)
     self.__group = group
     return self
 def set_max_age(self, age):
     ValueChecker.is_number(age)
     self.__max_age = age
     return self