| Total Complexity | 10 |
| Complexity/F | 1 |
| Lines of Code | 23 |
| Function Count | 10 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | abstract class ServiceCtl { |
||
| 2 | abstract name: string |
||
| 3 | abstract path: string |
||
| 4 | abstract alias: string |
||
| 5 | |||
| 6 | abstract start(pkg: string): Promise<boolean> |
||
| 7 | abstract startAsRoot(pkg: string): Promise<boolean> |
||
| 8 | |||
| 9 | abstract stop(pkg: string): Promise<boolean> |
||
| 10 | abstract stopAsRoot(pkg: string): Promise<boolean> |
||
| 11 | |||
| 12 | abstract restart(pkg: string): Promise<boolean> |
||
| 13 | abstract restartAsRoot(pkg: string): Promise<boolean> |
||
| 14 | |||
| 15 | abstract reload(pkg: string): Promise<boolean> |
||
| 16 | abstract reloadAsRoot(pkg: string): Promise<boolean> |
||
| 17 | |||
| 18 | abstract link(pkg: string): Promise<boolean> |
||
| 19 | |||
| 20 | abstract unlink(pkg: string): Promise<boolean> |
||
| 21 | } |
||
| 22 | |||
| 23 | export default ServiceCtl |