MCPcopy Create free account
hub / github.com/badvision/jace / suspend

Method suspend

src/main/java/jace/core/Device.java:234–242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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();

Callers 8

whileSuspendedMethod · 0.95
detachMethod · 0.95
abortMethod · 0.45
removeChildDeviceMethod · 0.45
setDebugMethod · 0.45
setMotherboardMethod · 0.45
deactivateMethod · 0.45
detachMethod · 0.45

Calls 2

isRunningMethod · 0.95
setRunMethod · 0.95

Tested by

no test coverage detected