public class ServiceControl
extends Object
-
-
Constructor Summary
Constructors
-
Method Summary
static boolean
static boolean
return = [name, enabled, active]
static boolean
static boolean
static boolean
static void
static boolean
static boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
logid
public static int logid
-
Constructor Details
-
ServiceControl
public ServiceControl()
-
Method Details
-
setLog
public static void setLog(int id)
-
start
public static boolean start(String name)
-
stop
public static boolean stop(String name)
-
restart
public static boolean restart(String name)
-
enable
public static boolean enable(String name)
-
disable
public static boolean disable(String name)
-
isEnabled
public static boolean isEnabled(String name)
-
isActive
public static boolean isActive(String name)
-
getStates
return = [name, enabled, active]