Class WrapperWin32Service


  • public class WrapperWin32Service
    extends Object
    A WrapperWin32Service contains information about an individual service registered with the current system.
    Author:
    Tanuki Software Development Team <support@tanukisoftware.com>
    • Method Detail

      • getName

        public String getName()
        Returns the name of the service.
        Returns:
        The name of the service.
      • getDisplayName

        public String getDisplayName()
        Returns the display name of the service.
        Returns:
        The display name of the service.
      • getServiceStateName

        public String getServiceStateName()
        Returns the last known state name of the service.
        Returns:
        The last known state name of the service.
      • getServiceState

        public int getServiceState()
        Returns the last known state of the service.
        Returns:
        The last known state of the service.
      • getExitCode

        public int getExitCode()
        Returns the exit of the service, or 0 if it is still running.
        Returns:
        The exit of the service.
      • toString

        public String toString()
        Returns a string representation of the user.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the user.