org.inria.myriads.snoozenode.localcontroller.powermanagement
public final class PowerManagementFactory extends Object
Modifier and Type | Method and Description |
---|---|
static Shutdown |
newShutdownLogic(ShutdownDriver shutdownDriver,
ShellCommandExecuter executor)
Returns shutdown logic.
|
static Suspend |
newSuspendLogic(SuspendDriver suspendDriver,
ShellCommandExecuter executor)
Returns suspend logic.
|
public static Suspend newSuspendLogic(SuspendDriver suspendDriver, ShellCommandExecuter executor)
suspendDriver
- The suspend driverexecutor
- The shell command executorpublic static Shutdown newShutdownLogic(ShutdownDriver shutdownDriver, ShellCommandExecuter executor)
shutdownDriver
- The shutdown driverexecutor
- The shell command executorCopyright © 2013. All Rights Reserved.