()
| 232 | |
| 233 | |
| 234 | public boolean suspend() { |
| 235 | // Suspending the parent device means the children are not going to run |
| 236 | // children.forEach(Device::suspend); |
| 237 | if (isRunning()) { |
| 238 | setRun(false); |
| 239 | return true; |
| 240 | } |
| 241 | return false; |
| 242 | } |
| 243 | |
| 244 | public void resumeAll() { |
| 245 | resume(); |
no test coverage detected