public class ServiceInfo
extends java.lang.Object
Constructor and Description |
---|
ServiceInfo() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static boolean isServiceRunning(java.io.File serviceFile)
serviceFile
- the install4j service executablepublic static boolean isServiceInstalled(java.io.File serviceFile)
serviceFile
- the install4j service executable