Overview | Package | Class | Tree | Deprecated | Index | Help
| install4j API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.install4j.api
Class ServiceInfo

    java.lang.Object
      com.install4j.api.ServiceInfo

    public class ServiceInfo

extends java.lang.Object

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

### ServiceInfo

    public ServiceInfo()

Method Detail

### isServiceRunning

    public static boolean isServiceRunning(java.io.File serviceFile)

  Checks if a services is running.

  Parameters:
    `serviceFile` - the install4j service executable
  Returns:
    true if it is running

### isServiceInstalled

    public static boolean isServiceInstalled(java.io.File serviceFile)

  Checks if a service is installed on Windows.

  Parameters:
    `serviceFile` - the install4j service executable
  Returns:
    true if installed

Overview | Package | Class | Tree | Deprecated | Index | Help
| install4j API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD