Decorator that be used to directly add a ServerManager property XML for a method.
(xmlstr)
| 165 | |
| 166 | @staticmethod |
| 167 | def xml(xmlstr): |
| 168 | """Decorator that be used to directly add a ServerManager property XML for a method.""" |
| 169 | |
| 170 | def generate(func, attrs): |
| 171 | smproperty._append_xml(func, xmlstr) |
| 172 | |
| 173 | return _create_decorator(generate_xml_func=generate) |
| 174 | |
| 175 | @staticmethod |
| 176 | def intvector(**kwargs): |
nothing calls this directly
no test coverage detected