public class WrapperWin32Service extends Object
Modifier and Type | Field and Description |
---|---|
static int |
SERVICE_STATE_CONTINUE_PENDING |
static int |
SERVICE_STATE_PAUSE_PENDING |
static int |
SERVICE_STATE_PAUSED |
static int |
SERVICE_STATE_RUNNING |
static int |
SERVICE_STATE_START_PENDING |
static int |
SERVICE_STATE_STOP_PENDING |
static int |
SERVICE_STATE_STOPPED |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Returns the display name of the service.
|
int |
getExitCode()
Returns the exit of the service, or 0 if it is still running.
|
String |
getName()
Returns the name of the service.
|
int |
getServiceState()
Returns the last known state of the service.
|
String |
getServiceStateName()
Returns the last known state name of the service.
|
String |
toString()
Returns a string representation of the user.
|
public static final int SERVICE_STATE_STOPPED
public static final int SERVICE_STATE_START_PENDING
public static final int SERVICE_STATE_STOP_PENDING
public static final int SERVICE_STATE_RUNNING
public static final int SERVICE_STATE_CONTINUE_PENDING
public static final int SERVICE_STATE_PAUSE_PENDING
public static final int SERVICE_STATE_PAUSED
public String getName()
public String getDisplayName()
public String getServiceStateName()
public int getServiceState()
public int getExitCode()
Copyright 1999, 2020 Tanuki Software Inc., All Rights Reserved.