java.lang.Objectcom.install4j.api.ServiceInfo
public class ServiceInfo
Provides information about services created with install4j.
| Constructor Summary | |
|---|---|
ServiceInfo()
|
|
| Method Summary | |
|---|---|
static boolean |
isServiceInstalled(java.io.File serviceFile)
Checks if a service is installed on Windows. |
static boolean |
isServiceRunning(java.io.File serviceFile)
Checks if a services is running. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceInfo()
| Method Detail |
|---|
public static boolean isServiceRunning(java.io.File serviceFile)
serviceFile - the install4j service executable
public static boolean isServiceInstalled(java.io.File serviceFile)
serviceFile - the install4j service executable