Class ServiceInfo

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

public class ServiceInfo extends Object
Provides information about services created with install4j.
  • Constructor Details

    • ServiceInfo

      public ServiceInfo()
  • Method Details

    • isServiceRunning

      public static boolean isServiceRunning(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(File serviceFile)
      Checks if a service is installed on Windows.
      Parameters:
      serviceFile - the install4j service executable
      Returns:
      true if installed