2222 * Definition of a service to be installed on the target system.
2323 */
2424public class Service extends Application {
25-
2625 private boolean startOnBoot = true , keepAlive = false ;
2726
28- private String id , wrapper , logPath , logPrefix , logLevel , pidFile , stdError , stdOutput , libraryPath , javaHome , jvm , winStartupMode ;
27+ private String id , wrapper , logPath , logPrefix , logLevel , pidFile , stdError , stdOutput , libraryPath , javaHome , jvm ;
2928
3029 /**
3130 * Create a new Service
@@ -39,7 +38,6 @@ public Service( SetupBuilder setup ) {
3938 /**
4039 * Returns a boolean flag indicating whether the service is started when the system is booted.
4140 *
42- * @see #getWinStartupMode()
4341 * @return boolean flag indicating whether the service is started when the system is booted
4442 */
4543 public boolean isStartOnBoot () {
@@ -49,26 +47,12 @@ public boolean isStartOnBoot() {
4947 /**
5048 * Sets a boolean flag indicating whether the service is started when the system is booted.
5149 *
52- * @see #setWinStartupMode(String)
5350 * @param startOnBoot boolean flag indicating whether the service is started when the system is booted
5451 */
5552 public void setStartOnBoot ( boolean startOnBoot ) {
5653 this .startOnBoot = startOnBoot ;
5754 }
5855
59- /**
60- * Gets the startup mode for Windows. One of "delayed", "auto", or "manual". Overrides {@link #isStartOnBoot()}
61- * if set.
62- */
63- public String getWinStartupMode () {
64- return winStartupMode ;
65- }
66-
67- /** Service startup mode can be either "delayed", "auto", or "manual". Overrides {@link #setStartOnBoot(boolean)} */
68- public void setWinStartupMode ( String winStartupMode ) {
69- this .winStartupMode = winStartupMode ;
70- }
71-
7256 /**
7357 * Returns the serviceID which should be a short version of the application name
7458 *
0 commit comments